mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-09-26 18:46:20 +09:00
fix: include the x forwarded for header
This commit is contained in:
@@ -17,5 +17,6 @@ location /tinyauth {
|
||||
# Headers needed for authentication
|
||||
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
||||
proxy_set_header X-Original-Method $request_method;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user