uwsgi
文章平均质量分 51
只要思想不滑坡办法总比困难多--小鱼干
小鱼干吃小鱼干的程序员之路,每天写一下代码防止抑郁。
展开
-
Linux Ubuntu18.04安装uwsgi时出现 ERROR: Command errored out with exit status 1:
Ubuntu18.04安装uwsgi时出现的错误(py3.8.5) root@ecs-7dec:/usr/local/web/django/oldMan# pip3 install uwsgi -i https://pypi.tuna.tsinghua.edu.cn/simple some-packageLooking in indexes: https://pypi.tuna.tsinghua.edu.cn/simpleCollecting uwsgi Using cached https:原创 2022-04-22 15:18:51 · 2017 阅读 · 0 评论 -
nginx部署Channels实现wss协议请求
在已经用nginx部署完了uwsgi的https请求的前提下我们将https的请求发送给uwsgi进行处理,将websocket请求发送给daphne进行处理,daphne和uwsgi可以使用supervisord进行控制,aupool项目中只用supervisord来控制daphne,uwsgi服务需要单独起。1.安装supervisor: $ sudoaptinstallsupervisor 2.安装daphne,在安装channels的时候,会自动安装daphne,...原创 2022-02-23 16:59:56 · 1528 阅读 · 0 评论