use HTTP/2 server push for render blocking CSS
This commit is contained in:
parent
562d79c370
commit
0f6e927908
@ -81,10 +81,17 @@ server {
|
||||
gzip_static off;
|
||||
}
|
||||
|
||||
location ~ "\.(txt|xml)$" {
|
||||
include /etc/nginx/snippets/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=1800";
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user