Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-26 Thread Jason Phillips
: Bob Jolliffe [mailto:bobjolli...@gmail.com] Sent: 24 March 2014 08:39 PM To: Jason Phillips Cc: dhis2-users Subject: Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances Hi Jason Your config now looks very much like what gets deployed by dhis2-tools

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Bob Jolliffe
Hi Jason You can't fix your problem with nginx config without first addressing your bind error. The error is simple enough - it just means something else is already listening on port 80. So try this: sudo netstat -ntlp |grep ':80' which will show you in the last column what exactly is

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Jason Phillips
Hi all, I have managed to answer my own question, through trial and error - but thought I would share the solution for those who are interested: 1. After installing nginx, I replaced the contents of the /etc/nginx/proxy_params file with the following: proxy_redirect off;

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Jason Phillips
time. Kind regards, Jason. From: Bob Jolliffe [mailto:bobjolli...@gmail.com] Sent: 24 March 2014 11:54 AM To: Jason Phillips Cc: dhis2-users Subject: Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances Hi Jason You can't fix your problem

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Bob Jolliffe
[mailto:bobjolli...@gmail.com] *Sent:* 24 March 2014 11:54 AM *To:* Jason Phillips *Cc:* dhis2-users *Subject:* Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances Hi Jason You can't fix your problem with nginx config without first addressing your bind

[Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-23 Thread Jason Phillips
Hello all, I am trying to set up nginx as a reverse proxy on a dedicated web server with three instances of Tomcat/DHIS2 (connecting to a dedicated Db Server, successfully configured and checked). I have been unable to make nginx behave as required, after numerous different configurations,