gaddyfile reverse_proxy example

Added a Caddy reverse_proxy example

Signed-off-by: serafdev <fares@seraf.dev>
This commit is contained in:
فارس 2021-01-06 14:40:04 -05:00 committed by backportbot[bot]
parent 3535d8acde
commit a26d5d2555

View File

@ -78,6 +78,19 @@ Traefik
Thanks to `@pauvos <https://github.com/pauvos>`_ for traefik example.
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
-------