luscis / openlan

Cloudify VPN written in Golang, and simple deployment via Kubernetes
http://vpn.luscis.cn
GNU General Public License v3.0
55 stars 24 forks source link

支持修改proxy.json文件后,热更新配置 #66

Closed xieyunyue closed 5 days ago

xieyunyue commented 2 months ago

支持修改proxy.json文件后,热更新配置

danieldin95 commented 4 weeks ago

可以考虑提交一个补丁,我相信你可以做到。

danieldin95 commented 5 days ago

提交一个访问规则:

curl -X POST http://localhost:1080/config/match/a.b.c/to/192.168.3.2:1080

删除一个访问规则:

curl -X DELETE http://localhost:1080/config/match/a.b.c/to/192.168.3.2:1080