mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-20 04:29:34 +00:00
Change .well-known regex
This commit is contained in:
parent
11632128e4
commit
0b59268aa8
@ -30,10 +30,10 @@ server {
|
|||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known {
|
location ^~ /.well-known {
|
||||||
location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav; }
|
location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav; }
|
||||||
location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav; }
|
location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav; }
|
||||||
location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; }
|
location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; }
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user