Merge pull request #360 from K2rool/patch-1

Make autodiscover location case insensitive
master
André Peters 2017-06-16 13:21:46 +02:00 committed by GitHub
commit 953cadd83c
1 changed files with 2 additions and 2 deletions

View File

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