How to redirect HTTP to HTTPS in Zimbra 8.8.12

Share this post to your friends !

SystemMen - How to redirect HTTP to HTTPS in Zimbra 8.8.12. This article, I will guide you to do that.

Redirecting HTTP to HTTPS for Zimbra’s webmail may not be difficult, but it is a problem for beginners.

Zimbra 8.0 disable HTTP

By default, from Zimbra 8.0, it will disable the HTTP service – port 80.

But the user habit when accessing webmail is never they type https:// but simply type the domain mail as

As such, they will access the HTTP service and it does not work. This will make users uncomfortable. We have to redirect their request to HTTPS in Zimbra.

Redirect HTTP to HTTPS in Zimbra 8.8.12

Okey, this article, I use Zimbra 8.8.12 and install single server.

how-to-redirect-http-to-https-in-zimbra-8-8-12 How to redirect HTTP to HTTPS in Zimbra 8.8.12
Redirect HTTP to HTTPS in Zimbra 8.8.12.

First, you need to know which port 80 (HTTP) and 443 (HTTPS) will go through the Zimbra proxy server. On this server will run Nginx proxy, it will perform the forwarding of user requests to the backend server within the system.

So to redirect HTTP to HTTPS, we must do it on the Zimbra proxy server (if you run multi server). As for single servers, you have only one option.

Now switch to user Zimbra.

[root@mail ~]# su zimbra

Zimbra proxy supports 5 modes, including:

  • redirect
  • both
  • http
  • https
  • mixed

You can read more at this link.

Now, use the following command to switch proxy mode to redirect.

[zimbra@mail root]$ zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect

Then, restart the zimbra proxy service. And done.

[zimbra@mail root]$ zmproxyctl restart
Stopping proxy...done.
Starting proxy...done.


Now you can try webmail access via http to see if it automatically redirect to https. Although the implementation is quite simple and concise, it can still be a problem for someone. Hope the article can help you.

If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.

Share this post to your friends !
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.

One Comment