Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaumebeuzeboc committed Jan 26, 2024
1 parent 5132c5e commit 5b9d234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cos_registration_server/cos_registration_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@

CSRF_COOKIE_SECURE = True

CSRF_TRUSTED_ORIGINS = os.getenv("CSRF_TRUSTED_ORIGINS_DJANGO", [])

# To keep the reverse proxy prefix when forwarding.
USE_X_FORWARDED_HOST = True

Expand Down

0 comments on commit 5b9d234

Please sign in to comment.