diff --git a/feo_homepage/settings/prod.py b/feo_homepage/settings/prod.py index fc05da2..c56b97d 100644 --- a/feo_homepage/settings/prod.py +++ b/feo_homepage/settings/prod.py @@ -6,6 +6,9 @@ TEMPLATE_DEBUG = True EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' ALLOWED_HOSTS = ['feoneu.asw.io'] +USE_X_FORWARDED_HOST = True +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +CSRF_TRUSTED_ORIGINS = ["https://feoneu.asw.io",] try: from .local import *