mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
17 lines
380 B
Caddyfile
17 lines
380 B
Caddyfile
{
|
|
auto_https disable_redirects
|
|
}
|
|
|
|
http:// https:// {
|
|
reverse_proxy seahub:8000 {
|
|
lb_policy header X-Forwarded-For
|
|
}
|
|
handle_path /seafhttp* {
|
|
uri strip_prefix seafhttp
|
|
reverse_proxy seafile-server:8082
|
|
}
|
|
reverse_proxy /seafdav/* seafile-server:8080
|
|
reverse_proxy /media/* seahub-media:80 {
|
|
lb_policy header X-Forwarded-For
|
|
}
|
|
} |