door:具有配置自动重新加载和静态文件服务的简约 HTTP 代理服务器

时间:2021-07-12 19:38:05
【文件属性】:
文件名称:door:具有配置自动重新加载和静态文件服务的简约 HTTP 代理服务器
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-12 19:38:05
JavaScript 已弃用 请使用代替这个。 boxcars 提供了更好的性能和更多的功能。 门 具有配置自动重新加载和静态文件服务的简约 HTTP 代理服务器。 此外结帐门的Golang重写: 安装 $ npm install -g door 用法 创建配置文件: { " * " : " localhost:3000 " , " foo.com " : " localhost:3001 " , " bar.net " : " localhost:3002 " , " static.org " : " /home/azer/sites/static.org " } 并在:8000上启动服务器: $ door config.json 要更改端口号: $ door config.json -p 80 更改后无需重新启动服务器。 它监视配置文件的更改并自动更新其代理表(如果没有发生错误
【文件预览】:
door-master
----lib()
--------map.js(660B)
--------server.js(336B)
--------on-request.js(1KB)
--------debug.js(151B)
--------table.js(925B)
--------stop.js(612B)
--------cli.js(388B)
----.npmignore(30B)
----README.md(1KB)
----docs()
--------man(579B)
----.gitignore(27B)
----index.js(200B)
----bin()
--------door(833B)
----example.json(91B)
----package.json(624B)

网友评论