From 0cc20cbb97efa560e35f371f772383c238aed6d1 Mon Sep 17 00:00:00 2001 From: Marc Schiller Date: Thu, 25 Jun 2015 11:56:33 +0200 Subject: [PATCH] Fixed a bug where autoconfiguration for Z-Push fails due to case of URL. --- conf/nginx-alldomains.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx-alldomains.conf b/conf/nginx-alldomains.conf index 896e9b00..995745e4 100644 --- a/conf/nginx-alldomains.conf +++ b/conf/nginx-alldomains.conf @@ -55,7 +55,7 @@ # file upload limit to match the corresponding Postfix limit. client_max_body_size 128M; } - location /autodiscover/autodiscover.xml { + location ~* ^/autodiscover/autodiscover.xml$ { include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/local/lib/z-push/autodiscover/autodiscover.php; fastcgi_param PHP_VALUE "include_path=.:/usr/share/php:/usr/share/pear:/usr/share/awl/inc";