avoid sending unnecessary push cookie

This commit is contained in:
Daniel Micay
2021-12-04 07:59:53 -05:00
parent 0a2a791a2c
commit fddfa68695
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
add_header Link $preload_resources always;
add_header Set-Cookie "__Host-preload=1; HttpOnly; Secure; SameSite=Lax; Path=/" always;
add_header Set-Cookie $push_cookie always;
http2_push_preload on;