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";