-
-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Description
Hi, I've used Nginx as a load balance, and use example/server or example/http as backend.
But I can't get real IP from nginx even if I have used the configuration of Nginx like proxy_protocol on
stream {
upstream my_servers{
#least_conn;
server 1.2.3.4:22;
#proxy_protocol on;
}
server {
listen [::]:223 ipv6only=off;
listen [::]:223 ipv6only=off udp;
proxy_pass my_servers;
proxy_protocol on;
}
}
The error was: proxyproto: invalid address
or it just give me the IP of Nginx.
Because I didn't find any thing relative to the problem, so I open the issue asking you for help.
I will be appreciate if you can look deep into the problem.