mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-01 15:46:13 +00:00
Change .well-known regex
This commit is contained in:
@ -30,7 +30,7 @@ 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; }
|
||||||
|
Reference in New Issue
Block a user