Unix:/var/discourse/shared/standalone/nginx.http.sock (2: No such file or directory) [SOLVED]

Make sure

  • SSL/Let’s Encrypt templates are commented because it’s already cared by your external Nginx config.
  • Rebuild the app so the nginx.http.sock file will appear in `/var/discourse/shared/standalone/

Okay, but what will happen about this line then? The 502 gateway error is gonne and the website is up, however I see the same nginx error because of this line.

location / {
        proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock;

SSL seems not to be working and the images are not displayed. I uploaded a logo when setting up the forum