xin

set_real_ip_from

Trusts an address to supply the client IP.

Syntaxset_real_ip_from address | CIDR | unix:;
Contextshttpserverlocation

Example

set_real_ip_from 127.0.0.1;