mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-08-15 19:40:42 +09:00
Update Nginx configuration to use $is_request_port and $request_port for improved compatibility
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
@@ -28,7 +28,7 @@ location @authelia_proxy_signin {
|
||||
add_header Set-Cookie $set_cookie;
|
||||
|
||||
## Set the $target_url variable based on the original request
|
||||
set_escape_uri $target_url $scheme://$host:$server_port$request_uri;
|
||||
set_escape_uri $target_url $scheme://$host$is_request_port$request_port$request_uri;
|
||||
|
||||
## Translate the Location response header from the auth subrequest into a variable
|
||||
auth_request_set $signin_url $upstream_http_location;
|
||||
|
||||
Reference in New Issue
Block a user