diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index a4e02acf..720cb9d6 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;