Route /thumbnail/* on files.hubris.network to Seafile Pro thumbnail-server (LXC 125:8081)

This commit is contained in:
Caddy on hubris
2026-05-12 18:57:57 +02:00
parent c1c161d1b8
commit f0a8835d8c

View File

@@ -184,6 +184,21 @@ files.hubris.network {
request_body {
max_size 10GB
}
# /thumbnail/* served by the Pro thumbnail-server (LXC 125 port 8081).
@thumb path /thumbnail/*
handle @thumb {
reverse_proxy 192.168.8.185:8081 {
header_up X-Forwarded-Proto https
header_up X-Forwarded-Host {host}
header_up Host {host}
transport http {
dial_timeout 30s
read_timeout 1h
write_timeout 1h
}
}
}
handle {
reverse_proxy 192.168.8.185:80 {
header_up X-Forwarded-Proto https
header_up X-Forwarded-Host {host}
@@ -202,4 +217,5 @@ files.hubris.network {
}
flush_interval -1
}
}
}