mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.5k stars 1.14k forks source link

emove $MAILCOW_HOSTNAME from ./data/conf/nginx/server_name.active if $ADDITIONAL_SERVER_NAMES is not empty (optional) #5958

Open alexsalex opened 1 month ago

alexsalex commented 1 month ago

Summary

Hi, Team! Could you help me? I need to separate mx record and web interface domain name. Is it possible?

mail.test.ltd - should show the web interface mx1.test.ltd - should be mx record for test.ltd domain

How can I do that?

Motivation

would like to proxy my web interface to avoid the flood and ddos attacks

Additional context

No response

alexsalex commented 1 month ago

Found the solution.

https://docs.mailcow.email/post_installation/reverse-proxy/r_p/#adding-additional-server-names-for-mailcow-ui

But now I have another question:

How to remove $MAILCOW_HOSTNAME from ./data/conf/nginx/server_name.active?