This commit is contained in:
eric
2026-03-28 13:27:53 -05:00
parent d34ecab19c
commit 8053c4cb6d
48 changed files with 3527 additions and 1433 deletions

View File

@@ -0,0 +1,13 @@
# 将本文件复制到 /opt/live/templates/Caddyfile 并按实际路径修改
# 目标http://live.local → 静态控制台 + /api/* → FastAPI
{$LIVE_DOMAIN:live.local} {
encode gzip
# 静态Next export 由 web.py 同端口托管时可改为 reverse_proxy
handle_path /api/* {
reverse_proxy 127.0.0.1:8001
}
handle {
reverse_proxy 127.0.0.1:8001
}
}