rename push cookie for clarity
This commit is contained in:
@@ -77,13 +77,17 @@ http {
|
||||
/index.html ", </phone.png>; rel=preload; as=image";
|
||||
}
|
||||
|
||||
map $http_cookie $clear_legacy_push_cookie {
|
||||
~__Host-preload= "__Host-preload=; HttpOnly; Secure; SameSite=Lax; Path=/; Max-Age=0";
|
||||
}
|
||||
|
||||
map $http_cookie $nopush {
|
||||
~__Host-preload=1 1;
|
||||
~__Host-push=1 1;
|
||||
default 0;
|
||||
}
|
||||
|
||||
map $nopush $push_cookie {
|
||||
0 "__Host-preload=1; HttpOnly; Secure; SameSite=Lax; Path=/";
|
||||
0 "__Host-push=1; HttpOnly; Secure; SameSite=Lax; Path=/";
|
||||
}
|
||||
|
||||
map $nopush $push_stylesheet {
|
||||
|
||||
Reference in New Issue
Block a user