登录linux vps.安装go环境,然后,
cd $GOPATH
go get -u -v github.com/LauTrond/http-proxy/
可执行文件http-proxy就会生成在$GOBIN目录下。
root@p1601860745:~# http-proxy -h
Usage of http-proxy:
-listen string
Proxy listen, required. (default ":1080")
-userpass string
user:pass
root@p1601860745:~#
项目地址:github.com/LauTrond/http-proxy
No comments:
Post a Comment