-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hello I've been trying to fix the information on the web about client real IP behinds the proxy, but app constantly shows NGX NPM IP (one ip), instead of the client's, here is my setup (few versions i have tried):
` location / {
set $upstream http://192.168.xxxx:1780;
proxy_pass $upstream;
# Basic Proxy Config
proxy_set_header Host $host;
proxy_set_header X-Real-IP $server;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect http:// $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
}`
do you know how i can pass Client real IP to the Snapcast behind proxy?
Metadata
Metadata
Assignees
Labels
No labels