Skip to content

Commit

Permalink
🔧 Add config option for USE_X_FORWARDED_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens authored and annashamray committed Mar 1, 2024
1 parent b5925e8 commit e490e85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/objects/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

IS_HTTPS = config("IS_HTTPS", not DEBUG)
ALLOWED_HOSTS = config("ALLOWED_HOSTS", default="", split=True)
USE_X_FORWARDED_HOST = config("USE_X_FORWARDED_HOST", default=False)

DATABASES = {
"default": {
Expand Down

0 comments on commit e490e85

Please sign in to comment.