502 Bad gateway error after switching to SSL

Solved it!

I think swapping the order of the templates so web.ssl template is listed before the web.socketed template and re-build:

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.ssl.template.yml"
  - "templates/web.socketed.template.yml"

/var/discourse/shared/standalone/nginx.https.sock now exists and Nginx proxy can connect to it :slight_smile: