Explorar o código

Fix autodiscover, thanks to K2rool!

andryyy %!s(int64=8) %!d(string=hai) anos
pai
achega
ba3fc47d5f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      data/conf/nginx/site.conf

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