This question has been archived.

nginx dont work tomcat with mysql.

November 27, 2016 1k views
Apache Arch Linux

502 Bad Gateway - nginx/1.10.0 (Ubuntu)/

My system: mysql, java vraptor 3 with hibernate.
tomcat8 -> I installed following the manual
nginx installed:

Works with html page, but I have this error when I put a system that accesses mysql, it gets to work later so, when the bank is empty sometimes it works afterwards too, help me I can not take it anymore.

1 comment
  • Can you share your nginx configuration so we can take a look and provide a bit more detail about what problem you're encountering vs what the expected functionality is for your setup?

Be the first one to answer this question.