Did you check the nginx log files in the app for clues?
@NoBugsBunny no not yet I’ll check and report back on my findings. Have been under the impression that it can’t be container that is wrong because it should have been built with the right stuff in it. I did check however the settings for Nginx in the container and it appears to be configured to serve the ‘Welcome to Nginx’ html file.
You need to fix that before you install discourse (or likely, anything else).
@pfaffman the strange thing is this is our production ESXi server with a lot of other VMs running on it all fine.
@NoBugsBunny looks like it is due to Nginx believing it needs to use a certificate despite me not entering anything when it asked for the Let’s Encrypt details. Is there a way to temporarily not use any certificates?
I suggest you just comment out the Letsencrypt (LE) template in your container yml file and comment out the other environment vars related to LE and rebuild.
Let me know if you need more help @titusc and congrats to you for tracking down your issue.
@IAmGav@neounix thanks for the info. So yes I find the following lines in the containers/app.yml file after running ./discourse-setup.
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
- "templates/web.ssl.template.yml"
- "templates/web.letsencrypt.ssl.template.yml"
This is a bit disappointing because the file is generated as is even I have hit Enter for the question Optional email address for Let’s Encrypt warnings? (ENTER to skip).
Commenting the last two lines and running ./launcher stop app and ./launcher rebuild app fixes the problem.