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 committed Dec 14, 2023
1 parent 55fbbee commit bee1a7f
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 @@ -34,6 +34,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 bee1a7f

Please sign in to comment.