zhoudw
2022-02-21 a247286b252017c86c7ae5a4f19019c89d6ee60f
配置
1 files deleted
1 files added
23 ■■■■■ changed files
config/default.php 23 ●●●●● patch | view | raw | blame | history
config/pro.php patch | view | raw | blame | history
config/default.php
New file
@@ -0,0 +1,23 @@
<?php
/*
 * @Author: your name
 * @Date: 2021-12-15 11:33:00
 * @LastEditTime: 2021-12-21 17:53:53
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /websocket/config/config.php
 */
return array(
    //WebSocket绑定、分组、在线等信息存储使用的Redis配置
    'redis' => array(
        'host' => '3011_etscloudservice_redis_ip',
        'port' => '3011_etscloudservice_redis_port',
    ),
    //本机WebSocket服务配置
    'server_config' => array(
        'allow_ip' => '3011_etscloudservice_redis_ip.3011_etscloudservice_redis_port',
        'host' => '0.0.0.0',
        'port' => '9501',
    ),
);
config/pro.php