set immutable for woff2 cache headers
This commit is contained in:
parent
54845bd077
commit
ba1047b121
@ -239,7 +239,14 @@ http {
|
|||||||
add_header Cache-Control "public, max-age=31536000";
|
add_header Cache-Control "public, max-age=31536000";
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ "\.(png|woff2)$" {
|
location ~ "\.woff2$" {
|
||||||
|
include snippets/security-headers.conf;
|
||||||
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||||
|
gzip_static off;
|
||||||
|
brotli_static off;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ "\.png$" {
|
||||||
include snippets/security-headers.conf;
|
include snippets/security-headers.conf;
|
||||||
add_header Cache-Control "public, max-age=31536000";
|
add_header Cache-Control "public, max-age=31536000";
|
||||||
gzip_static off;
|
gzip_static off;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user