fix: use absolute_redirect to preserve origin on redirects
This commit is contained in:
parent
1a437021dd
commit
ea944ca9be
@ -65,8 +65,7 @@ server {
|
|||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_connect_timeout 300;
|
proxy_connect_timeout 300;
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
proxy_redirect http:// $scheme://;
|
absolute_redirect off;
|
||||||
port_in_redirect off;
|
|
||||||
|
|
||||||
{{ if $this.upstream_use_tls -}}
|
{{ if $this.upstream_use_tls -}}
|
||||||
proxy_set_header Host "{{ $upstream_host }}";
|
proxy_set_header Host "{{ $upstream_host }}";
|
||||||
|
Loading…
Reference in New Issue
Block a user