Skip to content

Commit

Permalink
Merge pull request #124 from liip/django4-csrf
Browse files Browse the repository at this point in the history
Configure SECURE_PROXY_SSL_HEADER
  • Loading branch information
simonbru authored Feb 14, 2023
2 parents 23d4af6 + cb5ea4e commit 45af0c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@

ALLOWED_HOSTS = tuple(get_env_variable("ALLOWED_HOSTS", "").splitlines())

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

SECRET_KEY = get_env_variable("SECRET_KEY", "")

PASSWORD_HASHERS = [
Expand Down

0 comments on commit 45af0c6

Please sign in to comment.