瀏覽代碼

Add comment in settings.py explaining https fix.

tags/blog-initial
Daniel Perelman 1 年之前
父節點
當前提交
cece1cfb54
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      camera_site/settings.py

+ 1
- 0
camera_site/settings.py 查看文件

@@ -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…
取消
儲存