| Syntax: | real_ip_header field | X-Real-IP | X-Forwarded-For |
| Default: | X-Real-IP |
| Context: | http server location |
| Reference: | real_ip_header |
This directive sets the name of the header used for transferring the replacement IP address.
In case of X-Forwarded-For, this module uses the last ip in the X-Forwarded-For header for replacement.