实现分流器扩展
This commit is contained in:
@@ -15,3 +15,17 @@ limiters:
|
||||
- name: limiter-8m
|
||||
limits:
|
||||
- "$ 8m 8m"
|
||||
|
||||
bypasses:
|
||||
- name: china
|
||||
# 插件自身实现白名单:非中国目标返回拦截。
|
||||
plugin:
|
||||
type: grpc
|
||||
addr: 127.0.0.1:18080
|
||||
- name: deny
|
||||
# GOST 3.3.0 不替换空规则集;保留不可用目标,确保清空文件也能撤销旧规则。
|
||||
matchers:
|
||||
- 0.0.0.0/32
|
||||
reload: 10s
|
||||
file:
|
||||
path: /var/lib/gost/deny.txt
|
||||
|
||||
Reference in New Issue
Block a user