Properly cache html files

This commit is contained in:
kolaente 2020-12-16 12:28:54 +01:00
parent f04ee6f130
commit 4fc73626b7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

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;