caddy fmt

This commit is contained in:
Gerrit Gogel 2022-11-29 16:27:11 +01:00
parent 6eab60f1ed
commit 47e097da82

View file

@ -1,24 +1,24 @@
{
auto_https disable_redirects
auto_https disable_redirects
}
http:// https:// {
reverse_proxy seahub:8000 {
lb_policy header X-Forwarded-For
trusted_proxies private_ranges
}
handle_path /seafhttp* {
uri strip_prefix seafhttp
reverse_proxy seafile-server:8082 {
trusted_proxies private_ranges
reverse_proxy seahub:8000 {
lb_policy header X-Forwarded-For
trusted_proxies private_ranges
}
handle_path /seafhttp* {
uri strip_prefix seafhttp
reverse_proxy seafile-server:8082 {
trusted_proxies private_ranges
}
}
reverse_proxy /seafdav* seafile-server:8080 {
header_up Destination https:// http://
trusted_proxies private_ranges
}
reverse_proxy /media/* seahub-media:80 {
lb_policy header X-Forwarded-For
trusted_proxies private_ranges
}
}
reverse_proxy /seafdav* seafile-server:8080 {
header_up Destination https:// http://
trusted_proxies private_ranges
}
reverse_proxy /media/* seahub-media:80 {
lb_policy header X-Forwarded-For
trusted_proxies private_ranges
}
}