mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Update Service Discovery example for Caddy …
… 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>
This commit is contained in:
@@ -142,8 +142,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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user