ssl_preread question

Roman Arutyunyan arut at
Sun Aug 27 20:41:31 UTC 2017


On Sun, Aug 27, 2017 at 01:19:26PM -0400, aledbf wrote:
> Hi, it is possible to preservce the source IP address when ssl_preread is
> being used?

ssl_preread has nothing to do with the IP address.

> Right now I always get as the source

Where exactly do you get it?

If you want to keep the address while proxying a TCP connection, you can use
the PROXY protocol.

Roman Arutyunyan

More information about the nginx mailing list