添加Docker部署配置:backend Dockerfile、Caddyfile、docker-compose.yml,支持腾云云服务器部署域名skin.khhao.com,使用Caddy反向代理 + HTTPS
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user