502 Bad Gateway - nginx/1.14.0 (Ubuntu)

naupe nginx-forum at forum.nginx.org
Mon Nov 18 07:39:28 UTC 2019


Francis Day,

Wow ... that did it! You resolved my issue! After troubleshooting for 1 full
week of troubleshooting, it's resolved! Thank you so much!

So I edited my /etc/nginx/sites-available/discourse.conf file:

* I changed THIS line:
proxy_pass http://discourse.domainame.com:8080/;

To THIS line:
proxy_pass http://192.168.0.104:8080/;

So basically calling the Local IP Address instead of the Hostname as you
suggested.

Anyways, after I reloaded and restarted Nginx, and my Discourse Forum site
came right up!

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



More information about the nginx mailing list