Re: ssl_preread question

2017-08-27 Thread Roman Arutyunyan
Hi, 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 127.0.0.1 as the source Where exactly do you get it? If you want to

ssl_preread question

2017-08-27 Thread aledbf
Hi, it is possible to preservce the source IP address when ssl_preread is being used? Right now I always get 127.0.0.1 as the source Thanks in advance Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276159,276159#msg-276159 ___ nginx mailing

Re: Reverse proxy for multiple domains

2017-08-27 Thread Mik J via nginx
Hello Francis, Thank you for your answer.I've done many tests since then and yes indeed the problem came from the application => wordpress It's necessary to define these two variables WP_HOME and WP_SITEURL or $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'] in wp-config.php >From that