mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-28 11:43:00 +08:00
* fix(bot): only require VKE credentials when the TOS storage path needs them Sweep findings: C-14. Gate AK/SK validation on an actual TOS deployment and drop the unused cluster ID. (cherry picked from commit8790ba509f) * fix(server): apply configured temp_upload.default_mode to uploads Sweep findings: B-11, D-01. Apply the documented configured upload mode when requests omit it. (cherry picked from commita0dc2498e8) * fix(bot): make one-click Docker deployment generate a working config and port mapping Sweep findings: C-12. Generate the active ov.conf and keep gateway and Docker ports aligned. (cherry picked from commitc22af83ab6) * fix(server): make --bot work and propagate bot flags to workers Sweep findings: B-09, B-15. Honor the public Bot alias and replay resolved Bot settings in worker processes. (cherry picked from commit32a898ca14) * fix(docker): derive entrypoint/health port from configured server port Sweep findings: F-06. Keep server startup and every container health check on the same effective port. (cherry picked from commit000795c7e3) --------- Co-authored-by: zhiheng.liu <zhiheng.liu@bytedance.com>
26 lines
924 B
Caddyfile
26 lines
924 B
Caddyfile
# OpenViking reverse proxy — legacy fallback
|
|
#
|
|
# Port 1934 is retained only as a legacy entrypoint for existing deployments
|
|
# that already reference it. Its primary remaining purpose is as the upstream
|
|
# target for a TLS-terminating proxy (e.g. HTTPS via Caddy domain block).
|
|
#
|
|
# For new deployments, connect directly to the OV server on
|
|
# OPENVIKING_SERVER_PORT (1933 by default).
|
|
# Web Studio is served by OV itself at /studio — no separate proxy needed.
|
|
#
|
|
# To add public HTTPS, append a domain block below (Caddy auto-provisions
|
|
# Let's Encrypt certs):
|
|
#
|
|
# {$OPENVIKING_PUBLIC_BASE_URL} {
|
|
# reverse_proxy openviking:{$OPENVIKING_SERVER_PORT:1933}
|
|
# # Optional: pin ACME email
|
|
# # tls {$OV_ACME_EMAIL}
|
|
# }
|
|
#
|
|
# Then expose ports 80/443 in docker-compose.yml and set
|
|
# OPENVIKING_PUBLIC_BASE_URL=https://your-domain.com in .env.
|
|
|
|
:1934 {
|
|
reverse_proxy openviking:{$OPENVIKING_SERVER_PORT:1933}
|
|
}
|