Hello,
I’m currently stuck with mailcow and nginx proxy manager.
I have configured mailcow correctly step by step.
Here is what I have to configure:
I have my docker which contains nginx proxy manager and has the following configuration:
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
DB_SQLITE_FILE: "/data/database.sqlite"
DISABLE_IPV6: 'true'
volumes:
- /main/containers/nginx-proxy-manager/data:/data
- /main/containers/certbot/certificates/:/etc/letsencrypt
- /main/www/html/:/www/html
networks:
default:
external: true
name: reverse-proxy-hosts
https://prnt.sc/O11vHltzn8ko
Then I have my mailcow configured with the following information:
HTTP_PORT=8080
HTTP_BIND=
HTTPS_PORT=8443
HTTPS_BIND=
https://prnt.sc/dY7l_azQ5bHr
when I do in my server a Curl -L 0.0.0.0:8080 I get the result of the mailcow web page but when I set this value in Nginx Proxy Manager I got : 502 Bad Gateway