Skip to content

Instantly share code, notes, and snippets.

View nettoinfo's full-sized avatar

@nettux nettoinfo

View GitHub Profile
@rafaelfoster
rafaelfoster / Zimbra_nginx_upstream_ActiveSync.sh
Created May 2, 2016 20:37
Nginx configuration to create reverse proxy to Zimbra Mail Client and enable ActiveSync based on Z-PUSH.
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;
}