i was able to install 2 containers of discourse on my server with plesk under 2 different domains. Both are running, it’s just that i’m getting a 502 error.
The error log says:
2020/04/18 13:48:45 [error] 61#61: *125 upstream prematurely closed connection while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:3000/", host: "my.domain"
when i run just one container, this error does not appear at all. I’ve tried a couple of settings, but was not able to get this fixed. From my understanding, it has something to do with nginx and maybe that the containers have the same DOCKER_HOST_IP, sadly i couldn’t find where i can change this. Edits in Plesk to this value had no changes on the log. I would really appreciate if someone could help me with this or at least give me some clear advice what i’m missing to set.
and sry for my bad englisch, hope my sentences make sense.