1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

Fixed a bug where autoconfiguration for Z-Push fails due to case of URL.

This commit is contained in:
Marc Schiller 2015-06-25 11:56:33 +02:00
parent 17a149947a
commit 0cc20cbb97

View File

@ -55,7 +55,7 @@
# file upload limit to match the corresponding Postfix limit. # file upload limit to match the corresponding Postfix limit.
client_max_body_size 128M; client_max_body_size 128M;
} }
location /autodiscover/autodiscover.xml { location ~* ^/autodiscover/autodiscover.xml$ {
include fastcgi_params; include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/z-push/autodiscover/autodiscover.php; 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"; fastcgi_param PHP_VALUE "include_path=.:/usr/share/php:/usr/share/pear:/usr/share/awl/inc";