diff --git a/config/settings/base.py b/config/settings/base.py index c385457..f2f489d 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -748,6 +748,7 @@ ELASTICSEARCH_DSL = { "default": {"hosts": env("ELASTIC_SEARCH", default="http://127.0.0.1:9200/")}, } - - USE_DEBUG_TOOLBAR = False +SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") +USE_X_FORWARDED_HOST = True +USE_X_FORWARDED_PORT = True