This commit is contained in:
heavyrain lee
2019-03-27 22:35:22 +08:00
parent abd6668a7a
commit 25a4a54e52
7 changed files with 21 additions and 57 deletions
+6 -3
View File
@@ -9,7 +9,7 @@ server.ip 0.0.0.0
port 1883
##客户端短链接端口
http_port 8080
http_port 80
##WEB客户端长链接端口
websocket_port 8083
@@ -24,7 +24,7 @@ node_id 1
host 0.0.0.0
##本地绑定端口
local_port 8080
local_port 80
##是否使用内置DB。0使用mysql;1使用h2db
embed.db 1
@@ -32,9 +32,12 @@ embed.db 1
##服务器管理接口密钥
http.admin.secret_key 123456
##客户端协议栈密钥,需要与客户端协议栈文件libemqq.cc文件中的aes_key值保持一致,16进制byte用逗号分割
##客户端协议栈密钥,需要与客户端协议栈文件libemqq.cc文件中的aes_key值保持一致,16进制byte用逗号分割。重要性没有那么大,可以不用修改。
client.proto.secret_key 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F
##用来生产im token的私钥,只在服务器使用,客户端不用。正式使用时为了安全一定要修改这个值,切记切记
token.key testim
#*********************************************************************
# hazelcase configuration
#*********************************************************************