Re: nginx reverser proxy tomcat with tomcat not working

2017-05-22 Thread AjaySawant
Thanks Francis. Worked like a charm. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274372,274383#msg-274383 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx reverser proxy tomcat with tomcat not working

2017-05-22 Thread Francis Daly
On Mon, May 22, 2017 at 08:32:13AM -0400, AjaySawant wrote: Hi there, > tomcat url redirect to a third party SAML2 provider and once it > authenticated it redirected to http://localhost:8080/auth_app/ instead of > http://192.168.2.6/auth_app/ > location /auth_app { >

Re: nginx reverser proxy tomcat with tomcat not working

2017-05-22 Thread Aleksandar Lazic
Hi AjaySawant. AjaySawant have written on Mon, 22 May 2017 08:32:13 -0400: > I am trying to proxy tomcat using nginx. I have this configuration > below. Now the problem I am facing is if I access the url by > IP(192.168.2.6) then it gets redirected to /auth_app is tomcat which > is perfectly

nginx reverser proxy tomcat with tomcat not working

2017-05-22 Thread AjaySawant
I am trying to proxy tomcat using nginx. I have this configuration below. Now the problem I am facing is if I access the url by IP(192.168.2.6) then it gets redirected to /auth_app is tomcat which is perfectly fine. The tomcat url redirect to a third party SAML2 provider and once it authenticated