Re: Modify url at nginx

2018-07-30 Thread Francis Daly
On Mon, Jul 30, 2018 at 02:58:56AM -0400, linsonj wrote: Hi there, > What we want is when client type https://test1.apphost.com , nginx see url > as test1.apphost.com. Before proxy pass request to tomcat7, it should modify > url to https://test.apphost.com so tomcat7 see client url as > test.apph

Re: Modify url at nginx

2018-07-30 Thread Pratyush Kumar
AddAdd_header host test.apphost.com;___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Modify url at nginx

2018-07-29 Thread linsonj
Hello All, We have a use case. Our web application is deployed in tomcat7. At front, nginx is configured as reverse proxy and all requests are passed through nginx and are forwarded to tomcat7. Nginx serve static files directly and dynamic requests ( json ) are forwarded to tomcat7. At backend, w