I have a dedicated server that runs my website using Nginx. I am trying to follow the linked guide(https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md), but once I run ./discourse-setup command, it stopped and displayed a message that guides me to a link(Running other websites on the same machine as Discourse), but in this link, it is stated that I need to edit my app.yml file, but it is not exist, because setup command failed to start.
https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md
You can copy samples/standalone.yml.
You can edit discourse-setup to skip the test.
You can disable your web server long enough to run discourse-setup.
Getting discourse working is the easiest part of the advanced configuration that you are attempting.
Have a look at Running other websites on the same machine as Discourse. I believe there is another nginx specific topic.
Thanks for the reply.
What you mean for this sentence. I actually followed the steps you have mentioned, but right now, If I type ./launcher rebuild app, after a while I am getting another error saying that " [2019-07-02T11:51:07.931930 #16] INFO – : > cd /var/www/discourse && gem update bundler
ERROR: While executing gem … (Gem::RemoteFetcher::UnknownHostError)
timed out (https://rubygems.org/specs.4.8.gz)"
That’s a different problem.
It likely means that your server has a networking or dns issue.
But, I have another web application on this server runs already. I am not even able to execute the command “./launcher enter app”, because I don’t have the container that is up and running for me.
Edit: I think my problem is that creating an nginx configuration on my host for my container doesn’t take affect, I can’t make reverse proxy.