Merge pull request #12 from q158073378252010/patch-1

ws+nginx+tls update config
This commit is contained in:
Kiri 2018-04-19 17:33:53 +08:00 committed by GitHub
commit 4880bc3071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 3 deletions

View File

@ -29,6 +29,8 @@
"users": [ "users": [
{ {
"id": "97c0ec9c-dc4e-11e7-9296-cec278b6b50a", "id": "97c0ec9c-dc4e-11e7-9296-cec278b6b50a",
//"level""policy""levels":0,core3.1
"level": 0,
"alterId": 0, "alterId": 0,
"security": "aes-128-cfb" "security": "aes-128-cfb"
} }
@ -73,6 +75,17 @@
"timeout": 300 "timeout": 300
} }
}, },
// "policy"core3.1
"policy": {
"levels": {
"0": {
"uplinkOnly": 0,
"downlinkOnly": 0,
"connIdle": 150,
"handshake": 4
}
}
},
"routing": { "routing": {
"settings": { "settings": {
"rules": [ "rules": [
@ -129,4 +142,4 @@
}, },
"strategy": "rules" "strategy": "rules"
} }
} }

View File

@ -4,7 +4,18 @@
"error": "/var/log/v2ray/error.log", "error": "/var/log/v2ray/error.log",
// "debug" "info" "warning" "error" "debug""error" "none" "warning" // "debug" "info" "warning" "error" "debug""error" "none" "warning"
"loglevel": "debug" "loglevel": "debug"
}, },
//"policy"core3.1
"policy": {
"levels": {
"0": {
"uplinkOnly": 0,
"downlinkOnly": 0,
"connIdle": 150,
"handshake": 4
}
}
},
"inbound": { "inbound": {
//"0.0.0.0" //"0.0.0.0"
"listen": "127.0.0.1", "listen": "127.0.0.1",
@ -13,7 +24,8 @@
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "7f43b638-dc47-11e7-9296-cec278b6b50a", "id": "7f43b638-dc47-11e7-9296-cec278b6b50a",
//"level""policy""levels":0,core3.1
"level": 0, "level": 0,
"alterId": 64 "alterId": 64
} }