Force https in the nginx proxy headers.
This commit is contained in:
parent
6ed0dd46c6
commit
5d2218f279
|
@ -50,7 +50,7 @@ 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 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