Fix regexp expressions in mime-types maps

This commit is contained in:
Léo Colombaro 2019-03-09 13:45:33 +01:00
parent 7e270ae657
commit 3b0c4c41df
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
1 changed files with 8 additions and 8 deletions

View File

@ -19,14 +19,14 @@ map $sent_http_content_type $expires {
~*text/css 1y;
# Data interchange
~*application/atom+xml 1h;
~*application/rdf+xml 1h;
~*application/rss+xml 1h;
~*application/atom\+xml 1h;
~*application/rdf\+xml 1h;
~*application/rss\+xml 1h;
~*application/json 0;
~*application/ld+json 0;
~*application/schema+json 0;
~*application/geo+json 0;
~*application/ld\+json 0;
~*application/schema\+json 0;
~*application/geo\+json 0;
~*application/xml 0;
~*text/calendar 0;
~*text/xml 0;
@ -44,8 +44,8 @@ map $sent_http_content_type $expires {
~*text/javascript 1y;
# Manifest files
~*application/manifest+json 1w;
~*application/x-web-app-manifest+json 0;
~*application/manifest\+json 1w;
~*application/x-web-app-manifest\+json 0;
~*text/cache-manifest 0;
# Markdown