🗝
summary refs log tree commit diff
path: root/nginx
diff options
context:
space:
mode:
authormia <mia@mia.jetzt>2024-07-08 01:52:49 -0700
committermia <mia@mia.jetzt>2024-07-08 01:52:49 -0700
commitf4830204b6ec40be176623d55386cc40c1fec73f (patch)
tree011e06e34caa04543a4839d76786c75e045e67fa /nginx
parente66cc657e53c4e24d8ebdb19c170e6fe54301566 (diff)
downloadasylum-f4830204b6ec40be176623d55386cc40c1fec73f.tar.gz
asylum-f4830204b6ec40be176623d55386cc40c1fec73f.zip
make auth cookies samesite=lax
Diffstat (limited to 'nginx')
-rw-r--r--nginx/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/sync.py b/nginx/sync.py
index b715d41..9b02c45 100644
--- a/nginx/sync.py
+++ b/nginx/sync.py
@@ -34,7 +34,7 @@ auth_locations = (
             }
 
             location /.nginx/cookie {
-                add_header Set-Cookie "__proxy_token=${arg_token}; max-age=${arg_max_age}; path=/; samesite=strict; httponly; secure";
+                add_header Set-Cookie "__proxy_token=${arg_token}; max-age=${arg_max_age}; path=/; httponly; secure";
                 return 200;
             }"""
 )