Files
boss/deployment/Caddyfile
2026-06-08 12:22:50 +08:00

42 lines
651 B
Caddyfile

boss.hyzq.net {
encode zstd gzip
redir /gptpluscontrol /gptpluscontrol/ 308
handle /gptpluscontrol/* {
reverse_proxy 127.0.0.1:18081
}
reverse_proxy 127.0.0.1:3000
}
admin.boss.hyzq.net {
encode zstd gzip
handle /admin-web/* {
root * /opt/boss/public
file_server
}
@adminRoot path /
handle @adminRoot {
root * /opt/boss/public
rewrite * /admin-web/index.html
file_server
}
reverse_proxy 127.0.0.1:3000
}
http://106.53.170.158 {
encode zstd gzip
redir /gptpluscontrol /gptpluscontrol/ 308
handle /gptpluscontrol/* {
reverse_proxy 127.0.0.1:18081
}
reverse_proxy 127.0.0.1:3000
}