modify cluster logic

This commit is contained in:
zhouyuyan
2017-11-21 14:05:06 +08:00
parent 6a89b627d4
commit 5786e69b01
5 changed files with 18 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"workerNum": 4096,
"port": "1883",
"host": "0.0.0.0",
"cluster": {
"host": "0.0.0.0",
"port": "1993",
"routes": []
},
"tlsPort": "8883",
"tlsHost": "0.0.0.0",
"wsPort": "1888",
"wsPath": "/ws",
"wsTLS": false,
"tlsInfo": {
"verify": true,
"caFile": "ssl/ca/ca.pem",
"certFile": "ssl/server/cert.pem",
"keyFile": "ssl/server/key.pem"
},
"acl": false,
"aclConf": "conf/acl.conf"
}