diff options
author | mia <mia@mia.jetzt> | 2024-07-08 01:52:49 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-07-08 01:52:49 -0700 |
commit | f4830204b6ec40be176623d55386cc40c1fec73f (patch) | |
tree | 011e06e34caa04543a4839d76786c75e045e67fa | |
parent | e66cc657e53c4e24d8ebdb19c170e6fe54301566 (diff) | |
download | asylum-f4830204b6ec40be176623d55386cc40c1fec73f.tar.gz asylum-f4830204b6ec40be176623d55386cc40c1fec73f.zip |
make auth cookies samesite=lax
-rw-r--r-- | nginx/sync.py | 2 |
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; }""" ) |