Discourse and nginx

(Daniel) #1

So I followed the guide to setup discourse with other websites in one server
I have discourse.conf on my conf.d dir (nginx) and on sites-enabled I have my other vhost

This is my discourse conf: http://hastebin.com/jisuqayodi.nginx
and my vhost for ghost on sites-enabled: http://hastebin.com/citoqetoru.nginx

Here’s what’s happening
For some reason when you go to inkykinky.net you get a broken discourse page but the subdomain heart.inkykinky.net does show a working discourse installation. Any idea on why discourse even shows up on the main domain rather than ghost?

(Felix Freiberger) #2

This is really strange.

  • Are certain that there are no other nginx configuration files that could interfere?
  • Did you reload nginx’s configuration after your last change?
  • Are you 100% certain that port 2368 has no chance of delivering anything that remotely looks like Discourse? What’s listening there?

(Daniel) #3

If this helps:

Ghosts gives me this:

Ghost is running in development…
Listening on
Url configured as: http://localhost:2368

And docker ps

(Felix Freiberger) #4

That’s all looking good. Sorry, this is beyond my nginx-fu. :frowning: