proxy-protocol

Enables the PROXY protocol to preserve the original client IP address when connections pass through load balancers or proxies.

Syntax

proxy-protocol v2;

See PROXY Protocol Guide for detailed documentation.