Hi all, I’m just reaching out to see how others might have solved this problem. Problem being (as per diagram) that for reverse proxy I end up with two hostnames and the auto configure profile for iOS only includes one. Sure, I could use ActiveSync, but that’s got some limitations under ios16 as I understand it.
As per the attached below, the hostname of the guest is Spock. The domain name of webmail is webmail. Due to having one public IP address, imap ports etc are direct routed to the host (I don’t think these can be passed through NGINX but could be wrong), and the webmail page (and ActiveSync traffic) pass through NGINX. Caldav and Carddav must go via NGINX because they use port 443 or 80.
I have considered do I change the hostname in mailcow to webmail instead of Spock, but expect the implications of that would be negative. I can also manually set up the three services instead of using the iOS profile, but one of the reasons I came to mailcow from Zimbra was to get away from doing that.
I have though about can I add a second proxy-config to NGINX that covers spock.mydomain.co.nz and routes that as well, or perhaps I could add a second listen address to the same proxy.conf, however that would require me to update the internal dns for the hostname to point to the NGINX server, which then means that the IP address for the host (spock) is not pointing to spock causing all sorts of other challenges.
Has anyone else got a solution for this? I note plenty of other people are using reverse proxies, so someone must have thought of something I haven’t.