drop configuration for clearing legacy push cookie
This commit is contained in:
parent
5bdd465faf
commit
e7efc21340
@ -85,10 +85,6 @@ http {
|
||||
/usage.html ", <{{path|/js/redirect.js}}>; rel=modulepreload; integrity={{integrity|/js/redirect.js}}";
|
||||
}
|
||||
|
||||
map $http_cookie $clear_legacy_push_cookie {
|
||||
~__Host-preload= "__Host-preload=; HttpOnly; Secure; SameSite=Lax; Path=/; Max-Age=0";
|
||||
}
|
||||
|
||||
map $http_cookie $nopush {
|
||||
~__Host-push=1 1;
|
||||
default 0;
|
||||
|
@ -1,5 +1,4 @@
|
||||
add_header Link "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image$preload_resources_uri" always;
|
||||
add_header Set-Cookie $clear_legacy_push_cookie always;
|
||||
add_header Set-Cookie $push_cookie always;
|
||||
http2_push $push_stylesheet;
|
||||
http2_push $push_font_regular;
|
||||
|
Loading…
x
Reference in New Issue
Block a user