Recently I triend to set up mailcow dockerized on my server. But I am struggling with error Nginx - Bad Gateway error.
My server structure:
Mailcow is running on ports 8080 and 8443, IP both 127.0.0.1
I have a non-dockerized Nginx running on 80/443.
I tried to set up reverse proxy, as its written in the docs.
But when I try to load the page in browser, I am getting 502 error.
My nginx config is the same as from the docs (with correct hostname etc.)
Is there anybody else facing this issue?
Tried to curl 127.0.0.1:8080, but nothing happens, waiting for timeout
Thanks a lot