Update serv00keep.sh
This commit is contained in:
+14
-5
@@ -279,7 +279,7 @@ openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN=
|
||||
|
||||
nb=$(hostname | cut -d '.' -f 1 | tr -d 's')
|
||||
if [[ "$nb" =~ (14|15|16) ]]; then
|
||||
ytb='"jnn-pa.googleapis.com","gemini.google.com",'
|
||||
ytb='"jnn-pa.googleapis.com",'
|
||||
fi
|
||||
hy1p=$(sed -n '1p' hy2ip.txt)
|
||||
hy2p=$(sed -n '2p' hy2ip.txt)
|
||||
@@ -420,13 +420,18 @@ hy3p=$(sed -n '3p' hy2ip.txt)
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"tag": "block"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"domain": [
|
||||
@@ -434,6 +439,10 @@ hy3p=$(sed -n '3p' hy2ip.txt)
|
||||
"oh.my.god"
|
||||
],
|
||||
"outbound": "wg"
|
||||
},
|
||||
{
|
||||
"rule_set":"geosite-google-gemini",
|
||||
"outbound": "wg"
|
||||
}
|
||||
],
|
||||
"final": "direct"
|
||||
|
||||
Reference in New Issue
Block a user