mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-09-25 01:54:51 +09:00
fix: use correct x-forwarded-for header value
This commit is contained in:
@@ -17,6 +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-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user