mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.38k stars 89 forks source link

websites on 443 + mox #92

Closed zigomi closed 8 months ago

zigomi commented 8 months ago

There're multiple websites on a VPS, with nginx as a reverse proxy, on 443 port.

How to properly set up mox with this?

Using the built-in webserver of mox isn't an option at all.

naturalethic commented 8 months ago

From the docs:

You can run mox along with an existing webserver, but because of MTA-STS and autoconfig, you'll need to forward HTTPS traffic for two domains to mox. Run "mox quickstart -existing-webserver ..." to generate configuration files and instructions for configuring mox along with an existing webserver.