From ba3fc47d5f5a3914ddc7892d808c51263b720668 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 15 Jun 2017 23:03:10 +0200 Subject: [PATCH] Fix autodiscover, thanks to K2rool! --- data/conf/nginx/site.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index a4e02acf3..720cb9d62 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -66,7 +66,7 @@ server { proxy_redirect off; } - location ~ /(?:a|A)utodiscover/(?:a|A)utodiscover.xml { + location ~* ^/Autodiscover/Autodiscover.xml { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass phpfpm:9000; include /etc/nginx/fastcgi_params; @@ -213,7 +213,7 @@ server { proxy_redirect off; } - location ~ /(?:a|A)utodiscover/(?:a|A)utodiscover.xml { + location ~* ^/Autodiscover/Autodiscover.xml { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass phpfpm:9000; include /etc/nginx/fastcgi_params;