I am setting up another web service on the same host as discourse.
I would like to add an exception to the nginx config so that discourse ignores requests to that subdomain, and the routing can be handled by another process.
Let’s say I have discourse on forum.mysite.com
and I’d like to install another service at xyz.mysite.com
. Is there a howto describing how to add an expection?
Don’t fiddle with the Discourse-internal nginx config like that. It’ll end in tears. Add another nginx as a forward proxy and have that one decide whether to send the request to Discourse or your other service based on the hostname. There’s a howto for that, something about “running other sites on the same machine”.
6 Likes
This topic was automatically closed after 2285 days. New replies are no longer allowed.