电脑上需要安装git
clone git仓库执行命令:
git clone https://github.com/open-dingtalk/pierced.git
打开windows_amd64文件夹,然后右键按shift进入powershell,然后输入cmd
在cmd中输入
ding -config=ding.cfg -subdomain=xxx 8288
说明:xxx是二级域名前缀,后面跟上你本地的服务端口
(1)
cd mac_64
(2)
./ding -config=./ding.cfg -subdomain=abcde 8080
启动完客户端后,你访问 http://abcde.vaiwan.com/xxxxx都会映射到 http://127.0.0.1:8080/xxxxx