Skip to content

Commit

Permalink
Added proxy settings to try to remove infinite redirects.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccully committed Dec 6, 2024
1 parent 00c03ee commit 59567cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions banzai_floyds_ui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '*').split(',')

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

SECURE_SSL_REDIRECT = not DEBUG

SESSION_COOKIE_SECURE = not DEBUG
Expand Down

0 comments on commit 59567cc

Please sign in to comment.