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

View File

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