Quellcode durchsuchen

Merge pull request #360 from K2rool/patch-1

Make autodiscover location case insensitive
André Peters vor 8 Jahren
Ursprung
Commit
953cadd83c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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;