diff --git a/app/core/settings.py b/app/core/settings.py index 4d2b858..a1effae 100644 --- a/app/core/settings.py +++ b/app/core/settings.py @@ -29,10 +29,8 @@ ALLOWED_HOSTS = [ '*' ] # Force HttpRequest.build_absolute_uri() to generate HTTPS links in production # This is necessary when running behind a reverse proxy -#USE_X_FORWARDED_HOST = False if DEBUG else True -#SECURE_PROXY_SSL_HEADER = () if DEBUG else ('HTTP_X_FORWARDED_PROTO', 'https') -USE_X_FORWARDED_HOST = True -SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +USE_X_FORWARDED_HOST = False if DEBUG else True +SECURE_PROXY_SSL_HEADER = () if DEBUG else ('HTTP_X_FORWARDED_PROTO', 'https') # Application definition diff --git a/app/core/templates/core/footer.html b/app/core/templates/core/footer.html index ea7ad65..10a0d70 100644 --- a/app/core/templates/core/footer.html +++ b/app/core/templates/core/footer.html @@ -1,3 +1,5 @@