1 Star 0 Fork 32

NassQi / impush

forked from 曹楚平 / impush 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
configure.ini 956 Bytes
一键复制 编辑 原始数据 按行查看 历史
chuping.cao 提交于 2019-02-24 17:27 . ee
# push set 配置文件,正式部署放需到运行文件跟目录下
[CLUSTER]
start:true
local.port:6570 #端口暂时规定所有机器必须一样,后期修改为自由使用端口
remote.host:127.0.0.1 #集群体系中的任意一台机器,假如是第一台不需要填写
remote.port:6570 ##远程端口,假如是第一台不需要填写
real.host:223.22.233.23 ##外网地址 客户端直连地址
real.port:2222 ##外网端口 客户端直连端口
[HTTP]
port:9090
ssl:true
keyname:impush.key
crtname:impush.crt
[TCP]
start:true
port:4640
[WS]
start:true
[EX]
start: true
model:N #N 或 C
deadline:10 ##http轮训最长间隔时间,单位秒。超时则判定,用户下线
livetime:120 ##http连接阻塞时间,单位秒,尽可能设置长。N模式下,每隔livetime会断开重连一次;C模式下则是连接超时时间,根据浏览器的支持设定
[LOG]
open:true
path:log ##日志保存路径
Go
1
https://gitee.com/nassqi/impush.git
git@gitee.com:nassqi/impush.git
nassqi
impush
impush
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891