添加Docker部署配置:backend Dockerfile、Caddyfile、docker-compose.yml,支持腾云云服务器部署域名skin.khhao.com,使用Caddy反向代理 + HTTPS

This commit is contained in:
yml2213
2026-07-22 12:46:01 +08:00
parent 47b0dd5a49
commit ac8211f7d9
6 changed files with 109 additions and 23 deletions
+14
View File
@@ -0,0 +1,14 @@
{
# admin off # disable admin if wanted
}
skin.khhao.com {
# Reverse proxy all /api* requests to the backend service
reverse_proxy /api* backend:8080
# Serve static files for the frontend (SPA)
file_server / {
root * /usr/share/caddy
try_files {path} {path}/index.html
}
}