Hi All,
Is there any reason as to why I am getting an NGINX 504 Gateway timeout error when running NGINX as a reverse proxy for confluence.
Setup:
User => 80:NGINX => 8090:Confluence
Regards,
Karl
Hi Karl,
The code 504 means that the application server isn't getting the expected answer in time. Usually, it happens when the application is under maintenance or if the application has some problem on the configuration. So, if you try to access nginx on port 80, is it works ? If you try to create a simple index.html with a "hello world" passing by NGINX on port 8091, for example, you can see the content of the page ?
I'm asking it, because, if you be able to see the "hello World" message, we can see that the problem is something about confluence configuration. If you won't be able to see the Hello World, so, the problem is on NGINX configuration.
When we work with reverse proxy, it's very common we have problems with the TCP/IP conversation (three hand shake) when your request can achieve the destiny, but the request doesn't back by the same path, which can generate an error. So, for you do a more deep troubleshoot about it, you can run a tcpdump on confluence server to see what is happening.
tcpdump dat host confluence_IP and dat port 8090
Please let me know if you need any additional help.
Best regards,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.