1 Star 4 Fork 0

晨璇/cppjson

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.json 673 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenxuan 提交于 2022-03-14 12:33 . dealABug
{
//set the bound port
"port":5200,
//default file when ask /
"default file":"index.html",
//if fork model,use "MULTIPLEXING" or "FORK" or"THREAD"
"model":"MULTIPLEXING",
//if long connect
"long connect":true,
//if run in background
"background":false,
//if use guard
"guard":false,
//remove path array
"delete path":[],
//if open the log
"logger":true,
//replace the path,the arr must is a objext and have path and replace
"replace":[
{"path":"/root","repalce":"./template"},
{"path":"/temp","repalce":"./tem"}
],
//set agent array
"reverse proxy":[
{"host":"127.0.0.1","port":5201,"path":""},
{"host":"127.0.0.1","port":5202,"path":""}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenxuan520/cppjson.git
git@gitee.com:chenxuan520/cppjson.git
chenxuan520
cppjson
cppjson
master

搜索帮助