From 8e95131806f7fc1df403bfc3badde329c0be61e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Tue, 16 Feb 2021 15:04:22 +0100 Subject: [PATCH] Update firststeps-rp.md --- docs/firststeps-rp.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/firststeps-rp.md b/docs/firststeps-rp.md index 3574c2767..1e1d00050 100644 --- a/docs/firststeps-rp.md +++ b/docs/firststeps-rp.md @@ -252,3 +252,13 @@ dovecot_c=$(docker ps -qaf name=dovecot-mailcow) nginx_c=$(docker ps -qaf name=nginx-mailcow) docker restart ${postfix_c} ${dovecot_c} ${nginx_c} ``` + +### Adding additional server names for mailcow UI + +If you plan to use a server name that is not `MAILCOW_HOSTNAME` in your reverse proxy, make sure to populate that name in mailcow.conf via `ADDITIONAL_SERVER_NAMES` first. Names must be separated by commas and **must not** contain spaces. If you skip this step, mailcow may respond to your reverse proxy with an incorrect site. + +``` +ADDITIONAL_SERVER_NAMES=webmail.domain.tld,other.example.tld +``` + +Run `docker-compose up -d` to apply.