nginx: mark static gzip files as internal

This commit is contained in:
Daniel Micay 2020-04-19 02:19:29 -04:00
parent f160c132da
commit 99f3f8637e

View File

@ -86,6 +86,10 @@ server {
add_header Cache-Control "public, max-age=1800";
}
location ~ "\.gz" {
internal;
}
location / {
include /etc/nginx/snippets/security-headers.conf;
add_header Cache-Control "public, max-age=1800";