Hi, guys,I have installed mailcow (/opt/mailcow-dockerized), it starts correctly.
Then I installed the Nginx Proxy Manager in a separate directory on the host (/opt/npm), it starts up, installs certificat. I set the Proxy Host (http://127.0.0.1:8080) to the scheme http. I type it in the Proxy Host Advanced section:
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 0;
proxy_buffer_size 128k;
proxy_buffers 64 512k;
proxy_busy_buffers_size 512k;
}
Then I make the following changes to mailcow.conf:
HTTP_PORT=8080
HTTP_BIND=127.0.0.1
HTTPS_PORT=8443
HTTPS_BIND=127.0.0.1
and
SKIP_LETS_ENCRYPT=y
At this point I can’t reach the mailcow home page. The error message is in the Nginx Proxy Manager log:
2024/02/14 00:05:55 [error] 313#313: *255 connect() failed (111: Connection refused) while connecting to upstream, client: 4.3.2.1, server: my.server.com, request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:18080/”, host: “my.server.com”
Please help