From 5b4f8b113aa8b80e89c8f558ec39d79443836fc6 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Sat, 7 Jan 2023 16:55:07 +0000 Subject: [PATCH] =?UTF-8?q?Update=20Service=20Discovery=20example=20for=20?= =?UTF-8?q?Caddy=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … in reverse_proxy_configuration.rst While the rewrite rules should work I guess, they still trigger a warning on the admin page. Using 301 redirects make the warning go away. Signed-off-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> --- .../configuration_server/reverse_proxy_configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/reverse_proxy_configuration.rst b/admin_manual/configuration_server/reverse_proxy_configuration.rst index c7acce931..fcc281a1e 100644 --- a/admin_manual/configuration_server/reverse_proxy_configuration.rst +++ b/admin_manual/configuration_server/reverse_proxy_configuration.rst @@ -141,8 +141,8 @@ Caddy :: subdomain.example.com { - rewrite /.well-known/carddav /remote.php/dav - rewrite /.well-known/caldav /remote.php/dav + redir /.well-known/carddav /remote.php/dav 301 + redir /.well-known/caldav /remote.php/dav 301 reverse_proxy {$NEXTCLOUD_HOST:localhost} }