Another attempt to fix the mixed content problem.
This commit is contained in:
parent
13102924a5
commit
8dfd8dda5d
|
@ -45,7 +45,7 @@ server {
|
||||||
location / {
|
location / {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_redirect http://{{ inception_project_server_endpoint }}/ /;
|
proxy_redirect https://{{ inception_project_server_endpoint }}/ /;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Connection ""; # Clear for keepalive
|
proxy_set_header Connection ""; # Clear for keepalive
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
@ -66,7 +66,7 @@ server {
|
||||||
|
|
||||||
location @backend {
|
location @backend {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_redirect http://{{ inception_project_server_endpoint }}/ /;
|
proxy_redirect https://{{ inception_project_server_endpoint }}/ /;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Connection ""; # Clear for keepalive
|
proxy_set_header Connection ""; # Clear for keepalive
|
||||||
|
|
Loading…
Reference in New Issue