summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf4
-rw-r--r--nginx/snippets/preload.conf1
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;