diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-05-03 00:25:07 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-05-03 00:25:07 -0400 |
| commit | e7efc21340320ae0cf93026c78f96c69e6bc1701 (patch) | |
| tree | 412f4b2b9e14c7bd3ef162e6f245fddf2b296b26 | |
| parent | 5bdd465fafb50daa12bf07cd8cfd77cd71d63fab (diff) | |
drop configuration for clearing legacy push cookie
| -rw-r--r-- | nginx/nginx.conf | 4 | ||||
| -rw-r--r-- | nginx/snippets/preload.conf | 1 |
2 files changed, 0 insertions, 5 deletions
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}}, </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; |
