diff options
Diffstat (limited to 'config/settings/production.py')
-rw-r--r-- | config/settings/production.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/settings/production.py b/config/settings/production.py index cfd7d78..374be33 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -230,3 +230,6 @@ LOGGING = { MAILGUN_API_KEY = env("MAILGUN_API_KEY") MAILGUN_SENDER_DOMAIN = env("MAILGUN_DOMAIN") MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3") + +USE_X_FORWARDED_HOST = True +SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") |