summaryrefslogtreecommitdiff
path: root/config-example.json
diff options
context:
space:
mode:
Diffstat (limited to 'config-example.json')
-rw-r--r--config-example.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/config-example.json b/config-example.json
index a7b933fb..4986e459 100644
--- a/config-example.json
+++ b/config-example.json
@@ -57,6 +57,31 @@
}
},
{
+ "type": "singboxSRS",
+ "action": "add",
+ "args": {
+ "name": "cn",
+ "uri": "https://raw.githubusercontent.com/Loyalsoldier/geoip/release/srs/cn.srs"
+ }
+ },
+ {
+ "type": "singboxSRS",
+ "action": "add",
+ "args": {
+ "name": "cn",
+ "uri": "./srs/cn.srs",
+ "onlyIPType": "ipv4"
+ }
+ },
+ {
+ "type": "singboxSRS",
+ "action": "add",
+ "args": {
+ "inputDir": "./srs",
+ "onlyIPType": "ipv6"
+ }
+ },
+ {
"type": "cutter",
"action": "remove",
"args": {
@@ -165,6 +190,28 @@
}
},
{
+ "type": "singboxSRS",
+ "action": "output",
+ "args": {
+ "outputDir": "./publish"
+ }
+ },
+ {
+ "type": "singboxSRS",
+ "action": "output",
+ "args": {
+ "wantedList": ["cn", "us"]
+ }
+ },
+ {
+ "type": "singboxSRS",
+ "action": "output",
+ "args": {
+ "wantedList": ["cn", "us"],
+ "onlyIPType": "ipv4"
+ }
+ },
+ {
"type": "text",
"action": "output",
"args": {