diff --git a/pAerBim/settings.py b/pAerBim/settings.py index f30e46f..3a5ae6f 100644 --- a/pAerBim/settings.py +++ b/pAerBim/settings.py @@ -28,6 +28,9 @@ DEBUG = True ALLOWED_HOSTS = ['*'] +CSRF_TRUSTED_ORIGINS = ['https://aerbim.com/'] +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') + # Application definition INSTALLED_APPS = [