mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-08-07 15:38:43 +09:00
Update Nginx configuration to replace $http_host with $host:$server_port for better compatibility
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
@@ -33,5 +33,5 @@ proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-Ssl on;
|
||||
proxy_set_header X-Forwarded-Uri $request_uri;
|
||||
proxy_set_header X-Original-Method $request_method;
|
||||
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
||||
proxy_set_header X-Original-URL $scheme://$host:$server_port$request_uri;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user