Opened 6 years ago
Closed 6 years ago
#1643 closed defect (fixed)
Proxy Protocol documentation has the wrong variables
Reported by: | Owned by: | Yaroslav Zhuravlev | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | documentation | Version: | |
Keywords: | Cc: | ||
uname -a: | |||
nginx -V: | N/A |
Description
Looking at the documentation at: https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/#changing-the-load-balancer-s-ip-address-to-the-client-ip-address
There is this sentence: "With these modules, the $remote_addr and $remote_port variables reatain the real IP address and port of the client, while the $remote_addr and $remote_port variables retain the IP address and port of the load balancer."
"reatain" is a misspelling of "retain", and the second pair of variables should be the "realip_" versions.
The sentence should be: "With these modules, the $remote_addr and $remote_port variables retain the real IP address and port of the client, while the $realip_remote_addr and $realip_remote_port variables retain the IP address and port of the load balancer."
Change History (3)
comment:1 by , 6 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks, fixed:
https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/