caching header location hat problems

This commit is contained in:
Steffen Illium 2024-04-29 10:24:43 +02:00
parent ad7e0d4ad4
commit 3e44db42d0

View File

@ -14,11 +14,11 @@ server {
}
# Caching headers
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
# location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
# expires 30d;
# add_header Pragma public;
# add_header Cache-Control "public";
# }
gzip on;
gzip_comp_level 4;