Skip to content
Snippets Groups Projects
Commit 1c340e8e authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

check for forwarded HTTPS

parent 92c5d78d
No related branches found
No related tags found
1 merge request!8Release
Pipeline #12280 passed
...@@ -35,6 +35,10 @@ ALLOWED_HOSTS = [] ...@@ -35,6 +35,10 @@ ALLOWED_HOSTS = []
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles") STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
# Server
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment