From 0d45d16c77b8e35978cdc5ff270ed118ad84aab9 Mon Sep 17 00:00:00 2001 From: Stefan Wieczorek Date: Thu, 19 May 2022 18:50:11 +0200 Subject: [PATCH] . --- v2/Nextcloud/Nextcloud 24 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/v2/Nextcloud/Nextcloud 24 b/v2/Nextcloud/Nextcloud 24 index 70a009a..cbcdb06 100755 --- a/v2/Nextcloud/Nextcloud 24 +++ b/v2/Nextcloud/Nextcloud 24 @@ -17,12 +17,11 @@ server { } location ^~ /.well-known { - location = /.well-known/carddav { return 301 /remote.php/dav/; } - location = /.well-known/caldav { return 301 /remote.php/dav/; } - location ^~ /.well-known { return 301 /index.php$uri; } - try_files $uri $uri/ =404; - auth_basic off; - allow all; + location = /.well-known/carddav { return 301 /remote.php/dav/; } + location = /.well-known/caldav { return 301 /remote.php/dav/; } + location /.well-known/acme-challenge { try_files $uri $uri/ =404; } + location /.well-known/pki-validation { try_files $uri $uri/ =404; } + return 301 /index.php$request_uri; } {{settings}}