09 2023 档案

摘要:https要使用wss连接,wss://xxxxx.com/wss 就转发到了 服务器内的127.0.0.1:2346服务。 具体转发可以放在 文件配置或者 伪静态里面 建议放在伪静态里面容易管理 nginx配置 location / { if (!-e $request_filename) { r 阅读全文
posted @ 2023-09-22 02:20 成文的博客 阅读(1495) 评论(0) 推荐(0) 编辑
摘要:一、Apache下的伪静态配置 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUES 阅读全文
posted @ 2023-09-22 00:19 成文的博客 阅读(298) 评论(0) 推荐(0) 编辑
摘要:安装 首先通过 composer 安装 composer require topthink/think-worker SocketServer 在命令行启动服务端 php think worker:server 默认会在0.0.0.0:2345开启一个websocket服务。如果需要自定义参数,可以 阅读全文
posted @ 2023-09-15 00:10 成文的博客 阅读(635) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示