diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-08 21:18:23 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-08 21:18:23 +0000 |
commit | d3dda8c0bd194c28cf11c189c150c00bdc3e8a83 (patch) | |
tree | 28a656ea58e1420cc0da024eeadcc6ff1b30f234 /config/settings/production.py | |
parent | 411e79ada3d5bf315000ff5bb598235118d50b51 (diff) |
wip: working on ratelimit - not quite working in the browser
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") |