Re: Use ngx_stream_ssl_preread_module but also log client ip in access.log for https requests

2016-10-12 Thread Thomas Glanzmann
Hello Roman, * Roman Arutyunyan [2016-10-12 20:07]: > On Wed, Oct 12, 2016 at 07:50:06PM +0200, Thomas Glanzmann wrote: > > I would like to use ngx_stream_ssl_preread_module to multiplex a web > > server, openvpn, and squid to one ip address and port. However I would > > also like to keep the rea

Re: Use ngx_stream_ssl_preread_module but also log client ip in access.log for https requests

2016-10-12 Thread Roman Arutyunyan
Hi Thomas, On Wed, Oct 12, 2016 at 07:50:06PM +0200, Thomas Glanzmann wrote: > Hello, > I would like to use ngx_stream_ssl_preread_module to multiplex a web > server, openvpn, and squid to one ip address and port. However I would > also like to keep the real client ip address in my http logs, is t

Use ngx_stream_ssl_preread_module but also log client ip in access.log for https requests

2016-10-12 Thread Thomas Glanzmann
Hello, I would like to use ngx_stream_ssl_preread_module to multiplex a web server, openvpn, and squid to one ip address and port. However I would also like to keep the real client ip address in my http logs, is that possible, if so how? Cheers, Thomas