From 721be928f0e1e6fbefb99b5c189ab5d3a20380c7 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 23 Feb 2021 11:20:12 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index e9f864a..7b0447d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,6 +12,9 @@ location ^~ /.well-known { location = /.well-known/carddav { return 301 __PATH__/remote.php/dav/; } location = /.well-known/caldav { return 301 __PATH__/remote.php/dav/; } + + # Anything else is dynamically handled by Nextcloud + location ^~ /.well-known { return 301 /nextcloud/index.php$uri; } try_files $uri $uri/ =404; }