Replace expires -1 with epoch

This commit is contained in:
Allan Tatter 2022-10-28 11:44:28 +03:00 committed by Léo Colombaro
parent 771aa10f19
commit b83e71bb7e
1 changed files with 11 additions and 11 deletions

View File

@ -25,20 +25,20 @@ map $sent_http_content_type $expires {
~*application/rdf\+xml 1h;
~*application/rss\+xml 1h;
~*application/json -1;
~*application/ld\+json -1;
~*application/schema\+json -1;
~*application/geo\+json -1;
~*application/xml -1;
~*text/calendar -1;
~*text/xml -1;
~*application/json epoch;
~*application/ld\+json epoch;
~*application/schema\+json epoch;
~*application/geo\+json epoch;
~*application/xml epoch;
~*text/calendar epoch;
~*text/xml epoch;
# Favicon (cannot be renamed!) and cursor images
~*image/vnd.microsoft.icon 1w;
~*image/x-icon 1w;
# HTML
~*text/html -1;
~*text/html epoch;
# JavaScript
~*application/javascript 1y;
@ -47,11 +47,11 @@ map $sent_http_content_type $expires {
# Manifest files
~*application/manifest\+json 1w;
~*application/x-web-app-manifest\+json -1;
~*text/cache-manifest -1;
~*application/x-web-app-manifest\+json epoch;
~*text/cache-manifest epoch;
# Markdown
~*text/markdown -1;
~*text/markdown epoch;
# Media files
~*audio/ 1y;