real_ip_recursive

Syntax: real_ip_recursive on | off;
Default: real_ip_recursive off;
Context: http, server, location

This directive appeared in versions 1.3.0 and 1.2.1.

If recursive search is disabled, the original client address that matches one of the trusted addresses is replaced by the last address sent in the request header field defined by the real_ip_header directive. If recursive search is enabled, the original client address that matches one of the trusted addresses is replaced by the last non-trusted address sent in the request header field.

doc_nginx
2017-02-09 07:08:42
Comments
Leave a Comment

Please login to continue.