Commit 16498d00 authored by Jens Langhammer's avatar Jens Langhammer

Enable SECURE_SSL_REDIRECT setting to redirect all* requests to HTTPS

Since we load SecurityMiddleware after ServeRoutingMiddleware and S3RoutingMiddleware, this only influences UI, accounts and API and should thus not impact any functionality
parent b1336c88
Pipeline #3829 failed with stage
in 1 minute and 52 seconds
......@@ -27,6 +27,7 @@ LOGGER = logging.getLogger(__name__)
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
SECURE_SSL_REDIRECT = True
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment