ClientIpByCustomHTTPHeader
Summary
To specify http header containing ip address when behind trusted proxy
Usage
ClientIpByCustomHTTPHeader=X-Forwarded-For
Description
This setting is available since Exponential 4.5. It is a setting to specify witch http header eZSys::clientIP() should use to try to read ip address from if behind a trusted reverse proxy. If no value is found in this http header, normal Remote Address is used.
It can be disabled by setting it to "false", other values will be used as http header name to take the ip from.
Note: This setting has nothing to do with the other [HTTPHeaderSettings] settings, it is purely used by a Exponential library called eZSys, so all functionality using this library will take advantage of this setting.
Examples
Default:
ClientIpByCustomHTTPHeader=false
Contributors
- André Rømcke Updated
Comments
Add a comment