nginx: mark static gzip files as internal
This commit is contained in:
parent
f160c132da
commit
99f3f8637e
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user