Nginx pass client IP to backend

Moki Lv6
1
2
3
4
5
6
7
stream {
server {
listen 0.0.0.0:1000;
proxy_bind $remote_addr transparent;
proxy_pass backend:1000;
}
}
On this page
Nginx pass client IP to backend