整站https/wss,运行目录public,配置伪静态
1、Supervisor部署服务,建议www用户启动,一个进程,建议带上php命令的路径(多PHP版本重启服务器可能自动重启失败)
云快充服务(可选)php think cqrs start
单车铁塔服务(可选)php think lqrs start
定时任务 (必须部署)php think timer start
默认队列(必须部署)php think queue:listen --queue
订阅消息(可选)php think queue:listen --queue wxamsg
互联互通 (可选)php think queue:listen --queue lian
支付 (必须部署)php think queue:listen --queue pay
短信(可选)php think queue:listen --queue sms
websocket(可选)php think wbt start (配置/wss结尾的nginx代理实现wss链接)
打开nginx在http段中最后一行添加
upstream gaga {
server 127.0.0.1:18382;# websocket服务地址
}
打开站点配置在s

最低0.47元/天 解锁文章
1487

被折叠的 条评论
为什么被折叠?



