As I’m not running a reverse proxy myself. here’s my last hint, if that doesn’t work you have to ask someone who is actually running mailcow with Nginx reverse proxy.
Create the file docker docker-compose.override.yml in the main directory and put this in:
version: '2.1'
services:
nginx-mailcow:
environment:
- VIRTUAL_HOST=mikemail.mikelearner.com
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=mikemail.mikelearner.com
- LETSENCRYPT_EMAIL=letsencryptemail@mikelearner.com
Then restart mailcow and check if it’s working
Found at https://www.bonfert.io/2021/02/running-mailcow-behind-a-reverse-proxy/