mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
update thumbnail server yml
This commit is contained in:
parent
e00ef24963
commit
d41bc3f230
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue