update thumbnail server yml

This commit is contained in:
Jizhou Deng 2025-08-01 20:20:27 +08:00
parent e00ef24963
commit d41bc3f230

View File

@ -33,9 +33,11 @@ services:
- S3_SSE_C_KEY=${S3_SSE_C_KEY:-}
labels:
caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
caddy.1_handle_path: "/thumbnail*"
caddy.1_handle_path.0_rewrite: "* {uri}"
caddy.1_handle_path.1_reverse_proxy: "{{upstreams 80}}"
caddy.1_handle: "/thumbnail/*"
caddy.1_handle.0_reverse_proxy: "{{upstreams 80}}"
caddy.2_handle_path: "/thumbnail/ping"
caddy.2_handle_path.0_rewrite: "/ping"
caddy.2_handle_path.1_reverse_proxy: "{{upstreams 80}}"
depends_on:
db:
condition: service_healthy