diff --git a/nginx/nginx.conf b/nginx/nginx.conf index eb5f1c5c..676621f3 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; diff --git a/nginx/snippets/preload.conf b/nginx/snippets/preload.conf index 7e3f9a06..96db1dc0 100644 --- a/nginx/snippets/preload.conf +++ b/nginx/snippets/preload.conf @@ -1,5 +1,4 @@ add_header Link "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, ; rel=preload; as=font; crossorigin, ; 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;