打手端迁移至独立子域名

This commit is contained in:
yml2213
2026-08-16 16:08:38 +08:00
parent 8d07b06d52
commit bc2909d6f2
20 changed files with 173 additions and 52 deletions
+26 -18
View File
@@ -1,24 +1,32 @@
(order-site) {
route {
handle /api/* {
reverse_proxy backend:3000
}
handle /health* {
reverse_proxy backend:3000
}
handle /s/* {
reverse_proxy backend:3000
}
encode zstd gzip
root * /srv
try_files {path} /index.html
file_server
}
}
{$CADDY_SITE_ADDR:http://localhost} {
route {
handle /api/* {
reverse_proxy backend:3000
}
import order-site
}
handle /health* {
reverse_proxy backend:3000
}
handle /s/* {
reverse_proxy backend:3000
}
encode zstd gzip
root * /srv
try_files {path} /index.html
file_server
}
{$WORKER_SITE_ADDR:https://worker.khhao.com} {
import order-site
}
live.khhao.com {
reverse_proxy douyu-login:8800
reverse_proxy douyu-login:8800
}