diff --git a/config/settings/base.py b/config/settings/base.py index 5be8adc5..5fe9d043 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -355,3 +355,7 @@ LOCAL_UPLOAD_PATH = env("LOCAL_UPLOAD_PATH") # Regipy plugins REGIPY_PLUGINS = env.list("REGIPY_PLUGINS") + +# HTTPS +SECURE_PROXY_SSL_HEADER = env("HTTP_X_FORWARDED_PROTO", "http") +SECURE_SSL_REDIRECT = env.bool("SECURE_SSL_REDIRECT", False) diff --git a/orochi/templates/base.html b/orochi/templates/base.html index f6c711d1..e20cfd1b 100644 --- a/orochi/templates/base.html +++ b/orochi/templates/base.html @@ -202,8 +202,7 @@ - +