nginx: update HTTP/2 push configuration

This commit is contained in:
Daniel Micay 2020-10-31 11:05:58 -04:00
parent 3e14cfdfe0
commit f69579e757

View File

@ -71,12 +71,12 @@ server {
location = /404 {
internal;
http2_push /grapheneos.css?18;
http2_push /grapheneos.css?19;
}
location = /404.html {
internal;
http2_push /grapheneos.css?18;
http2_push /grapheneos.css?19;
}
location ~ "^(.*)/index$" {
@ -117,7 +117,7 @@ server {
include /etc/nginx/snippets/security-headers.conf;
add_header Cache-Control "public, max-age=1800";
try_files $uri $uri.html $uri/ =404;
http2_push /grapheneos.css?18;
http2_push /grapheneos.css?19;
}
}