Commit 18c3fa7b by Kevin Falcone

DEVOPS-2074: nginx looks for ELB headers to forward

In the case of sandboxes, nginx listens on 443/80 and needs to pass
along the scheme of the request so that django knows if the client is
connecting over HTTP or HTTPS, rather than forwarding non-existant ELB
headers.
parent 94d47a5e
...@@ -138,6 +138,7 @@ EDXAPP_STATIC_URL_BASE: $static_url_base ...@@ -138,6 +138,7 @@ EDXAPP_STATIC_URL_BASE: $static_url_base
EDXAPP_LMS_NGINX_PORT: 80 EDXAPP_LMS_NGINX_PORT: 80
EDXAPP_LMS_PREVIEW_NGINX_PORT: 80 EDXAPP_LMS_PREVIEW_NGINX_PORT: 80
EDXAPP_CMS_NGINX_PORT: 80 EDXAPP_CMS_NGINX_PORT: 80
NGINX_SET_X_FORWARDED_HEADERS: True
EDX_ANSIBLE_DUMP_VARS: true EDX_ANSIBLE_DUMP_VARS: true
migrate_db: "yes" migrate_db: "yes"
openid_workaround: True openid_workaround: True
......
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