Blank pages, 500 errors and no logs

There’s a nginx server running on port 80 inside the container. Your reverse proxy would have to do all the stuff nginx is doing since you are connecting to port 3000. I don’t recommend doing that. There’s too much that can go wrong and you are experiencing that right now.

My recommendation:

  1. Read Running other websites on the same machine as Discourse

  2. Expose the container’s nginx on a different port by editing your app.yml. E.g.:

    expose:
      - "8080:80"   # http
    
  3. Configure your reverse proxy to connect to the container via the port exposed in app.yml (e.g. 8080) and make sure your reverse proxy sends the required headers. See Running other websites on the same machine as Discourse for more information on that.

2 Likes