Update serv00.sh
This commit is contained in:
@@ -312,7 +312,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN=
|
|||||||
|
|
||||||
nb=$(hostname | cut -d '.' -f 1 | tr -d 's')
|
nb=$(hostname | cut -d '.' -f 1 | tr -d 's')
|
||||||
if [[ "$nb" =~ (14|15|16) ]]; then
|
if [[ "$nb" =~ (14|15|16) ]]; then
|
||||||
ytb='"jnn-pa.googleapis.com","gemini.google.com",'
|
ytb='"jnn-pa.googleapis.com",'
|
||||||
fi
|
fi
|
||||||
hy1p=$(sed -n '1p' hy2ip.txt)
|
hy1p=$(sed -n '1p' hy2ip.txt)
|
||||||
hy2p=$(sed -n '2p' hy2ip.txt)
|
hy2p=$(sed -n '2p' hy2ip.txt)
|
||||||
@@ -460,6 +460,15 @@ hy3p=$(sed -n '3p' hy2ip.txt)
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"route": {
|
"route": {
|
||||||
|
"rule_set": [
|
||||||
|
{
|
||||||
|
"tag": "geosite-google-gemini",
|
||||||
|
"type": "remote",
|
||||||
|
"format": "binary",
|
||||||
|
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-google-gemini.srs",
|
||||||
|
"download_detour": "direct"
|
||||||
|
}
|
||||||
|
],
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"domain": [
|
"domain": [
|
||||||
@@ -467,6 +476,10 @@ hy3p=$(sed -n '3p' hy2ip.txt)
|
|||||||
"oh.my.god"
|
"oh.my.god"
|
||||||
],
|
],
|
||||||
"outbound": "wg"
|
"outbound": "wg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule_set":"geosite-google-gemini",
|
||||||
|
"outbound": "wg"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"final": "direct"
|
"final": "direct"
|
||||||
|
|||||||
Reference in New Issue
Block a user