Configure Nginx On Separate Server For Zimbra Webmail

Posted by alphadogg on Server Fault See other posts from Server Fault or by alphadogg
Published on 2012-02-18T19:01:03Z Indexed on 2012/04/07 17:34 UTC
Read the original article Hit count: 355

How do I properly configure a server with nginx to front for a Zimbra server with multiple domains?

I run a small SOHO network. I NAT/port forwarding on my Comcast router to get traffic to my handful of servers.

I setup a server with Zimbra, call it host1.internal.local. The server currently has two domains, call them domain1.com and domain2.com. Both offer webmail access at webmail.domain1.com and webmail.domain2.com.

I have a separate server with nginx. I want to configure nginx to reverse proxy, such that I can direct all HTTP/HTTPS, and send webmail traffic via matched host address/headers to the Zimbra server. If possible, I'd like to know how to map IMAP, POP and SMTP traffic too.

How would I do this?

© Server Fault or respective owner

Related posts about nginx

Related posts about configuration