This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream zimbramailserver { | |
server localhost:8443 weight=1 fail_timeout=300s; # Zimbra Mail client HTTPS port | |
} | |
server { | |
listen 80; | |
server_name mail.*; | |
return 301 https://$host$request_uri; | |
} |