Re: Problem with 'Host' http header when using ssl

2014-11-05 Thread Ivan Artyukhin
Backend correctly analyzes 'host' header. To check it I created simple ServletFilter to 'set' this header and after it backend forms correct URLs. So my problem will be solved if I manage to set 'host' header in nginx configuration. I'm still confused why I can set this header for non-SSL port and

Re: Problem with 'Host' http header when using ssl

2014-11-05 Thread Ivan Artyukhin
As soon as I uncomment '# proxy_set_header Host $host;' line it stops working. All other headers don't matter Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254615,254616#msg-254616 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.

Problem with 'Host' http header when using ssl

2014-11-05 Thread Ivan Artyukhin
I'm using Nginx as reverse proxy with SSL termination. The J2EE application that is behind it sometimes uses host information to create URLs for popup windows. Right now it inserts name of my upstream into URL and popup windows are not launched (obviously). I understand that i have to fill 'Host' h