documentation: Update geosite usage

This commit is contained in:
世界 2024-01-23 11:57:14 +08:00
parent a8ee41715a
commit abca2118e7
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -322,17 +322,7 @@ flowchart TB
"server": "google" "server": "google"
}, },
{ {
"type": "logical", "geosite": "geolocation-cn",
"mode": "and",
"rules": [
{
"geosite": "geolocation-!cn",
"invert": true
},
{
"geosite": "cn",
}
],
"server": "local" "server": "local"
} }
] ]
@ -374,17 +364,7 @@ flowchart TB
"server": "google" "server": "google"
}, },
{ {
"type": "logical", "rule_set": "geosite-geolocation-cn",
"mode": "and",
"rules": [
{
"rule_set": "geosite-geolocation-!cn",
"invert": true
},
{
"rule_set": "geosite-cn",
}
],
"server": "local" "server": "local"
} }
] ]
@ -393,15 +373,9 @@ flowchart TB
"rule_set": [ "rule_set": [
{ {
"type": "remote", "type": "remote",
"tag": "geosite-cn", "tag": "geosite-geolocation-cn",
"format": "binary", "format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs" "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
},
{
"type": "remote",
"tag": "geosite-geolocation-!cn",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
} }
] ]
} }
@ -467,18 +441,7 @@ flowchart TB
"outbound": "block" "outbound": "block"
}, },
{ {
"type": "logical", "geosite": "geolocation-cn",
"mode": "and",
"rules": [
{
"geosite": "geolocation-!cn",
"invert": true
},
{
"geosite": "cn",
"geoip": "cn"
}
],
"outbound": "direct" "outbound": "direct"
} }
] ]
@ -545,19 +508,9 @@ flowchart TB
"outbound": "block" "outbound": "block"
}, },
{ {
"type": "logical", "rule_set": [
"mode": "and", "geoip-cn",
"rules": [ "geosite-geolocation-cn"
{
"rule_set": "geosite-geolocation-!cn",
"invert": true
},
{
"rule_set": [
"geoip-cn",
"geosite-cn"
]
}
], ],
"outbound": "direct" "outbound": "direct"
} }
@ -571,15 +524,9 @@ flowchart TB
}, },
{ {
"type": "remote", "type": "remote",
"tag": "geosite-cn", "tag": "geosite-geolocation-cn",
"format": "binary", "format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs" "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
},
{
"type": "remote",
"tag": "geosite-geolocation-!cn",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
} }
] ]
} }