Try to impose https.
This commit is contained in:
parent
8dfd8dda5d
commit
4427cad46d
|
@ -37,6 +37,9 @@ server {
|
|||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Authorization "Bearer $auth_token";
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
proxy_set_header remote_user "$remote_user_js";
|
||||
proxy_pass http://_inception-server;
|
||||
}
|
||||
|
@ -49,7 +52,8 @@ server {
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Connection ""; # Clear for keepalive
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
proxy_max_temp_file_size 0;
|
||||
proxy_connect_timeout 180;
|
||||
proxy_send_timeout 180;
|
||||
|
@ -71,7 +75,8 @@ server {
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Connection ""; # Clear for keepalive
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
proxy_max_temp_file_size 0;
|
||||
proxy_connect_timeout 180;
|
||||
proxy_send_timeout 180;
|
||||
|
|
Loading…
Reference in New Issue