Pages

Tuesday, 22 May 2018

一款简单好用的http代理服务器程序:node-simple-http-proxy

git clone https://github.com/thbaumbach/node-simple-http-proxy
cd  node-simple-http-proxy
npm install
node index.js &

不过 node index.js &容易退出,我们可利用daemonize把node index.js运行在后台:
root@ar:~/node-simple-http-proxy# daemonize -c . /usr/bin/node index.js
root@ar:~/node-simple-http-proxy#

这个node-simple-http-proxy可用作此文
http://briteming.blogspot.com/2018/04/xtunnel.html里所说的xtunnel的后端程序。

项目地址:https://github.com/thbaumbach/node-simple-http-proxy

No comments:

Post a Comment