Browse Source

Add comment in settings.py explaining https fix.

tags/blog-initial
Daniel Perelman 5 months ago
parent
commit
cece1cfb54
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      camera_site/settings.py

+ 1
- 0
camera_site/settings.py View File

@@ -91,4 +91,5 @@ CHANNEL_LAYERS = {
},
}

# https://docs.djangoproject.com/en/3.0/ref/settings/#secure-proxy-ssl-header
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

Loading…
Cancel
Save