登陆linux vps.
首先安装go环境,然后,
cd $GOPATH
go get -u -v github.com/silenceper/http-proxy
(在$GOBIN/下,就会得到可执行文件http-proxy)
运行http-proxy 会显示:
2019/08/17 00:36:01 Listen :8080
项目地址:https://github.com/silenceper/http-proxy
也是需要fork原项目,才能编辑main.go文件,修改监听的地址和端口。
https://github.com/luckypoem/http-proxy
首先安装go环境,然后,
cd $GOPATH
go get -u -v github.com/silenceper/http-proxy
(在$GOBIN/下,就会得到可执行文件http-proxy)
运行http-proxy 会显示:
2019/08/17 00:36:01 Listen :8080
项目地址:https://github.com/silenceper/http-proxy
也是需要fork原项目,才能编辑main.go文件,修改监听的地址和端口。
https://github.com/luckypoem/http-proxy
No comments:
Post a Comment