Because Centos seems to require a different setup I followed the nginx settings in this tutorial:
I also made some additional changes to app.yml and nginx conf that I saw in this tutorial because I want to have my MYDOMAIN.net and discourse.MYDOMAIN.net run on the same machine through nginx:
For instance I have the web socket template activated.
But now I read in a comment on that tutorial that if you use the socket then you must comment out all exposed ports, though going by the first config added an entry for “25654:80” so that it listens for the traffix forwarded to 25654 by nginx.
Apologies if this is a basic setup issue, port forwarding/sockets and network setup in general are not my strength.
Those are advanced setups. For people not experienced with setting up reverse proxies and managing docker we recommend following our only officialDiscourse Standard Installation. That does assume a brand new server and that Discourse is the only web app in there.