seafile-containerized/seafile-caddy/Caddyfile

19 lines
434 B
Caddyfile
Raw Permalink Normal View History

2021-01-19 16:14:10 +00:00
{
auto_https disable_redirects
}
http:// https:// {
reverse_proxy seahub:8000 {
lb_policy header X-Forwarded-For
}
handle_path /seafhttp* {
uri strip_prefix seafhttp
2021-01-21 01:32:29 +00:00
reverse_proxy seafile-server:8082
}
2021-05-18 22:25:56 +00:00
reverse_proxy /seafdav* seafile-server:8080 {
header_up Destination https:// http://
}
reverse_proxy /media/* seahub-media:80 {
lb_policy header X-Forwarded-For
}
2021-01-19 16:14:10 +00:00
}