Hi. I just installed Mail-in-a-Box without realizing it’s also got a built in nginx web server. I already had nginx installed and configured and wanted to know if there’s a way to remove it for the domains I have setup on my mail without removing the webmail / admin panels.
Does anyone have any help for me?
As the website says in multiple places, Mail-in-a-Box is intended to be run on its own machine.
One option is to run in a container (there is a Docker branch and I have also been experimenting with LXC). My current setup involves forwarding imaps/smtps to the container with mailinabox, then setting up lighttpd to proxy to the nginx instance in the container, so I could easily keep the rest of my site up.