xin

real_ip_header

Selects the trusted client-address source.

Syntaxreal_ip_header field | proxy_protocol;
Contextshttpserverlocation

Example

real_ip_header X-Forwarded-For;