diff --git a/core/settings.py b/core/settings.py index 0b523ec..4bfdc70 100644 --- a/core/settings.py +++ b/core/settings.py @@ -27,6 +27,8 @@ SECRET_KEY = 'django-insecure-h3*qqwi%s4(ve^!!27d1sn6gew&4ol0^eh^n*3$aq=p+ht#)6k # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') + ALLOWED_HOSTS = ['*'] CSRF_TRUSTED_ORIGINS = ['https://ec2-16-113-57-127.ap-south-2.compute.amazonaws.com:9002', 'https://*.amazonaws.com']