update once
This commit is contained in:
61
data/config.json.example
Normal file
61
data/config.json.example
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"debug": false,
|
||||
"profiling": false,
|
||||
"strategy": 2,
|
||||
"timeout": 2,
|
||||
"serve_addr": "127.0.0.1:8853",
|
||||
"web_addr": "0.0.0.0:8854",
|
||||
"socks_proxy": "",
|
||||
"built_in_cache": false,
|
||||
"max_active_connections": 50,
|
||||
"max_idle_connections": 20,
|
||||
"stats_save_interval": 5,
|
||||
"doh_server": {
|
||||
"username": "user",
|
||||
"password": "password"
|
||||
},
|
||||
"web_auth": {
|
||||
"username": "admin",
|
||||
"password": "your_secure_password"
|
||||
}
|
||||
"bootstrap": [
|
||||
{
|
||||
"address": "udp://223.5.5.5:53"
|
||||
},
|
||||
{
|
||||
"address": "udp://223.6.6.6:53"
|
||||
}
|
||||
],
|
||||
"upstreams": [
|
||||
{
|
||||
"address": "udp://223.5.5.5:53",
|
||||
"is_primary": true
|
||||
},
|
||||
{
|
||||
"address": "udp://223.6.6.6:53",
|
||||
"is_primary": true
|
||||
},
|
||||
{
|
||||
"address": "udp://114.114.114.114:53",
|
||||
"is_primary": true
|
||||
},
|
||||
{
|
||||
"address": "udp://119.28.28.28:53",
|
||||
"is_primary": true
|
||||
},
|
||||
{
|
||||
"address": "tcp-tls://one.one.one.one:853",
|
||||
"use_socks": false
|
||||
},
|
||||
{
|
||||
"address": "https://dns.google/dns-query",
|
||||
"use_socks": false,
|
||||
"match": [
|
||||
".*\\.onion"
|
||||
]
|
||||
}
|
||||
],
|
||||
"blacklist": [
|
||||
"^.*\\.?bing.com*"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user