We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9a06d commit f133fedCopy full SHA for f133fed
vulnerablecode/settings.py
@@ -54,6 +54,9 @@
54
# WARNING: Set this to False in production
55
STAGING = env.bool("STAGING", default=True)
56
57
+SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
58
+USE_X_FORWARDED_HOST = True
59
+
60
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
61
EMAIL_HOST = env.str("EMAIL_HOST", default="")
62
EMAIL_USE_TLS = True
0 commit comments