Re: Nginx as a proxy...

2015-05-20 Thread Bjørn T Johansen
On 20.05.2015 09:46, Mark Thomas wrote: On 20/05/2015 07:56, Bjørn T Johansen wrote: On 20.05.2015 08:27, Mark Thomas wrote: On 19/05/2015 22:25, Bjørn T Johansen wrote: I have a small problem using nginx as a reverse proxy in front of Tomcat 8.. The problem is that sometimes the context url i

Re: Nginx as a proxy...

2015-05-20 Thread Mark Thomas
On 20/05/2015 07:56, Bjørn T Johansen wrote: > On 20.05.2015 08:27, Mark Thomas wrote: >> On 19/05/2015 22:25, Bjørn T Johansen wrote: >>> I have a small problem using nginx as a reverse proxy in front of >>> Tomcat 8.. The problem is that sometimes the context url is set to >>> the local ip >>> ad

Re: Nginx as a proxy...

2015-05-19 Thread Bjørn T Johansen
On 20.05.2015 08:27, Mark Thomas wrote: On 19/05/2015 22:25, Bjørn T Johansen wrote: I have a small problem using nginx as a reverse proxy in front of Tomcat 8.. The problem is that sometimes the context url is set to the local ip address of the tomcat server instead of the hostname used to acc

Re: Nginx as a proxy...

2015-05-19 Thread Mark Thomas
On 19/05/2015 22:25, Bjørn T Johansen wrote: > I have a small problem using nginx as a reverse proxy in front of Tomcat 8.. > The problem is that sometimes the context url is set to the local ip > address of the tomcat server instead of the hostname used to access the nginx > server. > And I know

Nginx as a proxy...

2015-05-19 Thread Bjørn T Johansen
I have a small problem using nginx as a reverse proxy in front of Tomcat 8.. The problem is that sometimes the context url is set to the local ip address of the tomcat server instead of the hostname used to access the nginx server. And I know this can be solved by using proxyname and proxypost bu