drop configuration to clear legacy push cookie

This commit is contained in:
Daniel Micay 2023-03-24 18:46:50 -04:00
parent 22dfaea8c4
commit 8f2b158041
2 changed files with 0 additions and 5 deletions

View File

@ -98,10 +98,6 @@ http {
/usage.html ", <{{path|/js/redirect.js}}>; rel=modulepreload; integrity={{integrity|/js/redirect.js}}"; /usage.html ", <{{path|/js/redirect.js}}>; rel=modulepreload; integrity={{integrity|/js/redirect.js}}";
} }
map $http_cookie $clear_legacy_push_cookie {
~__Host-push= "__Host-push=; HttpOnly; Secure; SameSite=Lax; Path=/; Max-Age=0";
}
server { server {
listen 80 default_server backlog=4096; listen 80 default_server backlog=4096;
listen [::]:80 default_server backlog=4096; listen [::]:80 default_server backlog=4096;

View File

@ -1,2 +1 @@
add_header Link "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v30-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v30-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image$preload_resources_uri" always; add_header Link "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v30-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v30-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;