mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
Merge pull request #582 from haiwen/update_thumbnail_server_yml
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled
update thumbnail server yml
This commit is contained in:
commit
08d49e850a
|
|
@ -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