Merge pull request #6059 from nextcloud/backport/5894/stable19

[stable19] Caddyfile reverse_proxy example
This commit is contained in:
Morris Jobke 2021-01-20 15:19:45 +01:00 committed by GitHub
commit ec507d283c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
-------