nginx: update HTTP/2 push configuration
This commit is contained in:
parent
3e14cfdfe0
commit
f69579e757
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user