Skip to content

Commit

Permalink
Remove HTTPS redirect since Traefik is already doing this
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmaxwell committed Nov 28, 2024
1 parent db93a44 commit 0917208
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@
# Securtiy settings
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")

# Redirect all HTTP traffic to HTTPS
SECURE_SSL_REDIRECT = True

# Use secure cookies
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
Expand Down

0 comments on commit 0917208

Please sign in to comment.