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

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

Re: Nginx upstream https not proxing other pages(?)

2016-06-23 Thread romkaltu
Also: no need to secure front-end to back-end proxy_pass to backend with port :80 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267806,267820#msg-267820 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx upstream https not proxing other pages(?)

2016-06-23 Thread romkaltu
Yep this is it, just wanted to update status as somebody from serverfault already told me that :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267806,267818#msg-267818 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: Nginx upstream https not proxing other pages(?)

2016-06-23 Thread romkaltu
What is your backend server? Maybe problem can persist in backend? I'm using Litespeed web server. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267806,267815#msg-267815 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Nginx upstream https not proxing other pages(?)

2016-06-23 Thread romkaltu
Having odd situation, even don't know how to search in google, how to describe it...Anyway I'm using Nginx and proxy'ing https traffic to upstream server. Everything is fine with http (with others domains) but can't get it to work with https... Here is my nginx config upstream umarket { server 19