Option X-Forwarded-For
Option X-Forwarded-For specifies that EZproxy should include the IP address of the remote user when forwarding requests to the remote web server. In normal operation, EZproxy hides the IP address of the remote user from the remote web server. When this option is used, EZproxy will insert a special header when forwarding requests to the remote web server that includes the IP address of the remote user. This information is included using an HTTP header called X-Forwarded-For.
Option NoX-Forwarded-For restores EZproxy’s normal behavior of hiding the address of the remote user.
These options should not be confused with Option AcceptX-Forwarded-For which performs a very different function. Option NoX-Forwarded-For is a repeatable position-dependent config.txt directive that interacts with database stanzas and follows the stanzas until overridden.
Sintaxis
Option X-Forwarded-For
Example
Pass the address of the remote user to Some Database, but not to Other Database nor any databases after Other Database.
Option X-Forwarded-For
Title Some Database URL http://www.somedb.com D somedb.com
Option NoX-Forwarded-For
Title Other Database URL http://www.otherdb.com D otherdb.com