502 - Bad Gateway || Apache // Fine on disk memory


(Kaleb) #1

I’ve installed Discourse before, and it’s been a breeze. However, I’m having issues on my newest box. After installation, it’s displaying the Congratulations, you’ve installed Discourse page, but with no content loading, other than raw HTML. All of the assets/etc are receiving 502 errors, and clicking register gives a bad gateway.

Rebuilt a few times, tried a few different install methods. Figured it could be permissions, but it wasn’t. Plenty of disk space (2TB) and RAM (16GB). Not really sure what’s going on.

Apache Config

<VirtualHost *:80>
    ServerName discourse.example.com
    ProxyPass / http://0.0.0.0:7890/
    ProxyPassReverse / http://0.0.0.0:7890/
</VirtualHost>

(Matt Palmer) #2

Use our official install guide, and drop Apache (at least until you have the initial install working, and then add Apache, so you know where the problem lies).