Update config_server.json

This commit is contained in:
Clarence Gui 2020-08-01 21:40:36 +08:00 committed by GitHub
parent 21aacaf2ad
commit eca65ac65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,91 +1,61 @@
{ {
"outbound": {
"streamSettings": null,
"tag": null,
"protocol": "freedom",
"mux": null,
"settings": null
},
"log": { "log": {
"access": "/var/log/v2ray/access.log", "loglevel": "warning"
"loglevel": "error",
"error": "/var/log/v2ray/error.log"
}, },
"inboundDetour": null, "routing": {
"inbound": { "domainStrategy": "AsIs",
"streamSettings": { "rules": [
"network": "h2", {
"kcpSettings": null, "type": "field",
"httpSettings": { "ip": [
"host": [ "geoip:private"
"example.domain"
], ],
"path": "/test" "outboundTag": "block"
}, }
"tcpSettings": null, ]
"tlsSettings": {
"certificates": [
{
"keyFile": "/path/to/example.domain.key",
"certificateFile": "/path/to/example.domain/fullchain.cer"
}
]
},
"security": "tls"
},
"listen": null,
"protocol": "vmess",
"port": 443,
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"alterId": 100,
"security": "aes-128-gcm",
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e"
}
],
"auth": null
}
}, },
"outboundDetour": [ "inbounds": [
{ {
"tag": "blocked", "listen": "0.0.0.0",
"protocol": "blackhole", "port": 1234,
"settings": null "protocol": "vmess",
"settings": {
"clients": [
{
"id": "",
"alterId": 4
}
],
"disableInsecureEncryption": false
},
"streamSettings": {
"network": "http",
"httpSettings": {
"host": [
"example.domain"
],
"path": ""
},
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
}
]
}
}
} }
], ],
"routing": { "outbounds": [
"strategy": "rules", {
"settings": { "protocol": "freedom",
"rules": [ "tag": "direct"
{ },
"ip": [ {
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "tag": "block"
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
"domainStrategy": null
} }
}, ]
"dns": null }
}