z-push: an Exchange ActiveSync server

This commit is contained in:
Joshua Tauberer
2014-07-12 00:02:32 +00:00
parent 67c7391546
commit 2a7669a0d3
4 changed files with 168 additions and 3 deletions
+14
View File
@@ -53,6 +53,20 @@ server {
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
}
# Microsoft Exchange autodiscover.xml for email
location /autodiscover/autodiscover.xml {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/bin/mailinabox-exchange-autodiscover.php;
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
}
# Z-Push (Microsoft Exchange ActiveSync)
location /Microsoft-Server-ActiveSync {
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/z-push/index.php;
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
}
# ADDITIONAL DIRECTIVES HERE
}