Re: Nginx real_ip module doesn't work in some conditions

2016-08-28 Thread Francis Daly
On Sun, Aug 28, 2016 at 04:13:23AM -0400, romkaltu wrote: Hi there, > Ok so it seams my mistake, everything is fine with this configuration, I Good that you have it working. > need extra step in backend to complete my task, as for specific example I > needed to set option in backend server (lit

Re: Nginx real_ip module doesn't work in some conditions

2016-08-28 Thread romkaltu
Ok so it seams my mistake, everything is fine with this configuration, I need extra step in backend to complete my task, as for specific example I needed to set option in backend server (litespeed web server) option "Use Client IP in Header" I must be accidentally disabled it. Posted at Nginx Foru

Re: Nginx real_ip module doesn't work in some conditions

2016-08-27 Thread Francis Daly
On Sat, Aug 27, 2016 at 03:02:16PM -0400, romkaltu wrote: Hi there, > So I have Nginx proxy and some servers running behind it. I need to know > real users IP not proxy, so I using real_ip module. Everything is working as > expected, but if I configure vhost like subdomain.domain.com backend gett

Nginx real_ip module doesn't work in some conditions

2016-08-27 Thread romkaltu
So I have Nginx proxy and some servers running behind it. I need to know real users IP not proxy, so I using real_ip module. Everything is working as expected, but if I configure vhost like subdomain.domain.com backend getting Nginx proxy IP. Here is my Nginx config sample set_real_ip_from 192.1