Merge pull request #582 from haiwen/update_thumbnail_server_yml
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled

update thumbnail server yml
This commit is contained in:
Daniel Pan 2025-08-01 20:32:40 +08:00 committed by GitHub
commit 08d49e850a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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