Force https
This commit is contained in:
parent
0584e1588d
commit
ceb883ccca
|
@ -40,7 +40,8 @@ server {
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-Server $host;
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
proxy_set_header X-Original-URI $request_uri;
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
proxy_set_header Authorization "Bearer $auth_token";
|
proxy_set_header Authorization "Bearer $auth_token";
|
||||||
proxy_set_header remote_user "$remote_user_js";
|
proxy_set_header remote_user "$remote_user_js";
|
||||||
|
@ -59,7 +60,8 @@ server {
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-Server $host;
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
#proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
proxy_set_header X-Original-URI $request_uri;
|
proxy_set_header X-Original-URI $request_uri;
|
||||||
proxy_set_header Authorization "Bearer $auth_token";
|
proxy_set_header Authorization "Bearer $auth_token";
|
||||||
proxy_set_header remote_user "$remote_user_js";
|
proxy_set_header remote_user "$remote_user_js";
|
||||||
|
|
Loading…
Reference in New Issue