We have a multiserver, centos7.5 running nginx. We have https://main.domain:8081/webmail which redirects to roudcube all working with the main.domain currectly. On a secondary domain if I try https://secondary.domain:8081/webmail it complains as the SSL certificate is for the main.domain. Is there a way to handle have a cert for the secondary domain as well ? I was playing with web aliasdomain and having a webmail.secondary.domain redirect to the first which does work but I'd prefer to hide the main.domain:47081 when running from the secondary.domain. Any ideas on solving this aspect ?