mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00: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:
parent
858f4296d2
commit
5b4f8b113a
@ -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}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user