502 Bad Gateway errors from Nginx when trying to access Tomcat

mex nginx-forum at forum.nginx.org
Fri Apr 22 06:49:22 UTC 2016


Hello,


did you followed the atlassian-guide?

>
https://confluence.atlassian.com/jirakb/integrating-jira-with-nginx-426115340.html
>
https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html

usually when nginxy says "502" you should trust this.

for debuggging, try 

curl -v http://JIRA_IP:JIRA_PORT/ from the server nginx runs on., to see, if
you have
access to the ressource you configured in proxy_pass



cheers, 

mex

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266336,266339#msg-266339



More information about the nginx mailing list