Fix regexp expressions in mime-types maps
This commit is contained in:
parent
7e270ae657
commit
3b0c4c41df
|
@ -19,14 +19,14 @@ map $sent_http_content_type $expires {
|
||||||
~*text/css 1y;
|
~*text/css 1y;
|
||||||
|
|
||||||
# Data interchange
|
# Data interchange
|
||||||
~*application/atom+xml 1h;
|
~*application/atom\+xml 1h;
|
||||||
~*application/rdf+xml 1h;
|
~*application/rdf\+xml 1h;
|
||||||
~*application/rss+xml 1h;
|
~*application/rss\+xml 1h;
|
||||||
|
|
||||||
~*application/json 0;
|
~*application/json 0;
|
||||||
~*application/ld+json 0;
|
~*application/ld\+json 0;
|
||||||
~*application/schema+json 0;
|
~*application/schema\+json 0;
|
||||||
~*application/geo+json 0;
|
~*application/geo\+json 0;
|
||||||
~*application/xml 0;
|
~*application/xml 0;
|
||||||
~*text/calendar 0;
|
~*text/calendar 0;
|
||||||
~*text/xml 0;
|
~*text/xml 0;
|
||||||
|
@ -44,8 +44,8 @@ map $sent_http_content_type $expires {
|
||||||
~*text/javascript 1y;
|
~*text/javascript 1y;
|
||||||
|
|
||||||
# Manifest files
|
# Manifest files
|
||||||
~*application/manifest+json 1w;
|
~*application/manifest\+json 1w;
|
||||||
~*application/x-web-app-manifest+json 0;
|
~*application/x-web-app-manifest\+json 0;
|
||||||
~*text/cache-manifest 0;
|
~*text/cache-manifest 0;
|
||||||
|
|
||||||
# Markdown
|
# Markdown
|
||||||
|
|
Loading…
Reference in New Issue