zhaoweijie 1aa9e280b0 Add 'frontend-vue/' from commit '041986f5cd6e67f5367fd047c71b8107865fa5af'
git-subtree-dir: frontend-vue
git-subtree-mainline: 4fa5504697d28b537980ae9cbc3597e415cb94cb
git-subtree-split: 041986f5cd6e67f5367fd047c71b8107865fa5af
2025-11-20 09:51:44 +08:00

15 lines
180 B
Caddyfile

:80
# Proxy `/api` to backends
handle_path /api/* {
reverse_proxy {$API_HOST}
}
# Frontend
handle {
root * /frontend
encode gzip
try_files {path} /index.html
file_server
}