From bcdbbf0102e712a68736c316fd367081fb72e0d6 Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 14 Jun 2017 23:42:42 +0100 Subject: [PATCH] Make autodiscover case insensitive --- 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 ef6ec107..13b552eb 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -64,7 +64,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; @@ -209,7 +209,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;