mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-11 16:54:41 -05:00
overwrite header from proxy.conf to not include $server_port
This commit is contained in:
parent
e057a7ce0d
commit
3ef896e611
@ -9,6 +9,7 @@ location /outpost.goauthentik.io {
|
|||||||
proxy_pass http://$upstream_authentik:9000/outpost.goauthentik.io;
|
proxy_pass http://$upstream_authentik:9000/outpost.goauthentik.io;
|
||||||
|
|
||||||
## Headers
|
## Headers
|
||||||
|
proxy_set_header X-Forwarded-Host $host; # overwrite header from proxy.conf to not include $server_port
|
||||||
proxy_set_header Content-Length "";
|
proxy_set_header Content-Length "";
|
||||||
|
|
||||||
## Basic Proxy Configuration
|
## Basic Proxy Configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user