Opened 2 years ago

Closed 2 years ago

#1643 closed defect (fixed)

Proxy Protocol documentation has the wrong variables

Reported by: pnickerson.cashstar.com@… 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 maxim, 2 years ago

Owner: set to Yaroslav Zhuravlev
Status: newassigned

comment:3 by Yaroslav Zhuravlev, 2 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.