November 17, 2019 09:37PM
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!
Subject Author Posted

502 Bad Gateway - nginx/1.14.0 (Ubuntu)

naupe November 17, 2019 01:59AM

Re: 502 Bad Gateway - nginx/1.14.0 (Ubuntu)

Francis Daly November 17, 2019 07:16AM

Re: 502 Bad Gateway - nginx/1.14.0 (Ubuntu)

naupe November 17, 2019 09:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready