nginx: update HTTP/2 push configuration
This commit is contained in:
parent
3e14cfdfe0
commit
f69579e757
@ -71,12 +71,12 @@ server {
|
|||||||
|
|
||||||
location = /404 {
|
location = /404 {
|
||||||
internal;
|
internal;
|
||||||
http2_push /grapheneos.css?18;
|
http2_push /grapheneos.css?19;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /404.html {
|
location = /404.html {
|
||||||
internal;
|
internal;
|
||||||
http2_push /grapheneos.css?18;
|
http2_push /grapheneos.css?19;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ "^(.*)/index$" {
|
location ~ "^(.*)/index$" {
|
||||||
@ -117,7 +117,7 @@ server {
|
|||||||
include /etc/nginx/snippets/security-headers.conf;
|
include /etc/nginx/snippets/security-headers.conf;
|
||||||
add_header Cache-Control "public, max-age=1800";
|
add_header Cache-Control "public, max-age=1800";
|
||||||
try_files $uri $uri.html $uri/ =404;
|
try_files $uri $uri.html $uri/ =404;
|
||||||
http2_push /grapheneos.css?18;
|
http2_push /grapheneos.css?19;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user