Re: 502 Bad Gateway errors from Nginx when trying to access Tomcat

2016-04-22 Thread gischethans
Yes, I followed the instructions as-is and they work. The problems begin when I block Tomcat from listening to external IPs by adding address=127.0.0.1 in the Connector blocks. The Atlassian guide does not discuss that aspect at all. >From what I have observed, I feel that even if I have a Nginx

502 Bad Gateway errors from Nginx when trying to access Tomcat

2016-04-21 Thread gischethans
I have JIRA and Nginx running on the same server with Nginx installed to serve as a reverse proxy. From what I learnt from various sources, in the Tomcat server.xml file, I must add an address="127.0.0.1" attribute so that Tomcat does not listen to outside IPs. But once I add that to my 8080 and 84

Making Tomcat accessible only through nginx reverse proxy

2016-04-20 Thread gischethans
I have a Tomcat server serving a web application and I have a Nginx server running in front of it as a reverse proxy. Both the servers are on Intranet, in the same domain network. The issue I am facing is, the tomcat server is accessible through both IP addresses - if I use the Nginx IP, it redirec