luscis / openlan

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

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

Closed xieyunyue closed 1 month ago

xieyunyue commented 4 months ago

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

danieldin95 commented 2 months ago

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

danieldin95 commented 1 month 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