2019-01-24 11:18:42 +08:00
|
|
|
|
<?php
|
2020-10-21 10:17:25 +08:00
|
|
|
|
define('SERVER_ADDRESS', '192.168.1.161');//服务注册地址,需为内网IP地址
|
2019-01-24 11:18:42 +08:00
|
|
|
|
define('SERVER_PORT', '2346');//服务注册端口
|
|
|
|
|
define('CLIENT_PORT', '2345');//客户端监听端口
|
2019-01-25 10:44:02 +08:00
|
|
|
|
|
|
|
|
|
//ssl配置 请使用绝对路径。不开启可以不用关注
|
2019-01-25 17:03:06 +08:00
|
|
|
|
define('USE_SSL', false);//是否使用ssl
|
2020-10-21 10:17:25 +08:00
|
|
|
|
define('SITE_URL', 'https://beta.vilson.xyz');//接口地址
|
2019-01-25 10:44:02 +08:00
|
|
|
|
define('LOCAL_CERT', '/www/wwwroot/EasyProjectApi/server.pem');// 证书路径也可以是crt文件
|
|
|
|
|
define('LOCAL_PK', '/www/wwwroot/EasyProjectApi/server.key');
|
|
|
|
|
define('VERIFY_PEER', false);
|
2020-02-22 10:30:35 +08:00
|
|
|
|
define('ALLOW_SELF_SIGNED', false);//如果是自签名证书需要开启此选项
|