소스 검색

Make autodiscover case insensitive

James Smith 8 년 전
부모
커밋
bcdbbf0102
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      data/conf/nginx/site.conf

+ 2 - 2
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;