mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #6059 from nextcloud/backport/5894/stable19
[stable19] Caddyfile reverse_proxy example
This commit is contained in:
commit
ec507d283c
@ -107,6 +107,19 @@ NGINX
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
CADDY
|
||||
^^^^^
|
||||
::
|
||||
|
||||
subdomain.example.com {
|
||||
reverse_proxy /.well-known/carddav {$NEXTCLOUD_HOST:localhost}/remote.php/dav
|
||||
|
||||
reverse_proxy /.well-known/caldav {$NEXTCLOUD_HOST:localhost}/remote.php/dav
|
||||
|
||||
reverse_proxy * {$NEXTCLOUD_HOST:localhost}
|
||||
}
|
||||
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user