Properly cache html files

This commit is contained in:
kolaente 2020-12-16 12:28:54 +01:00
parent f04ee6f130
commit 4fc73626b7
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ http {
# Expires map
map $sent_http_content_type $expires {
default off;
text/html epoch; # We don't cache the html for the browser to get the content
text/html max;
text/css max;
application/javascript max;
~image/ max;