Commit f2f67a2d authored by Administrator's avatar Administrator

更新wss

parent a05ea255
Pipeline #171 failed with stages
...@@ -66,9 +66,6 @@ class alarm extends Command ...@@ -66,9 +66,6 @@ class alarm extends Command
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key',
'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_chain.crt',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
...@@ -66,9 +66,6 @@ class chemicalswb extends Command ...@@ -66,9 +66,6 @@ class chemicalswb extends Command
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key',
'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_chain.crt',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
...@@ -66,9 +66,6 @@ class firewb extends Command ...@@ -66,9 +66,6 @@ class firewb extends Command
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key',
'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_chain.crt',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
...@@ -66,9 +66,6 @@ class swoole extends Command ...@@ -66,9 +66,6 @@ class swoole extends Command
'daemonize'=>0,//守护进程 'daemonize'=>0,//守护进程
'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key',
'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_chain.crt',
)); ));
$this->ws->on('open', function ($ws, $request) { $this->ws->on('open', function ($ws, $request) {
// //链接成功 // //链接成功
......
...@@ -69,9 +69,6 @@ class swooleMeTcp extends Command ...@@ -69,9 +69,6 @@ class swooleMeTcp extends Command
'heartbeat_idle_time' => 65, 'heartbeat_idle_time' => 65,
'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt', 'ssl_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_public.crt',
'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key', 'ssl_key_file' => base_path() . '/cert/apache/iot.zhkjgf.com.key',
'ssl_verify_peer' => true,
'ssl_allow_self_signed' => true,
'ssl_client_cert_file' => base_path() . '/cert/apache/iot.zhkjgf.com_chain.crt',
]); ]);
//监听连接进入事件 //监听连接进入事件
$this->tcp->on('Connect', function ($serv, $fd) { $this->tcp->on('Connect', function ($serv, $fd) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment