分类: Uncategorized

57 篇文章

django+uwsgi+daphne+supervisor生产环境部署
项目中使用了webscoket进行实时通讯,但是生产环境又使用了django+nginx+uwsgi的部署方式,我们都知道uwsgi并不能处理websocket请求,所以需要asgi服务器来处理websocket请求,官方推荐的asgi服务器是daphne 1. 部署daphne 使用pip install daphne 的方式安装 项目配置文件目…
web层部署php程序
一、先构建LNMP环境 1.1 系统环境 sed -ri 's/enforcing/disabled/g' /etc/sysconfig/selinux systemctl stop firewalld setenforce 0 iptables -t filter -F 1.2 安装nginx 配置官方yum源 # 1、必须先…
Copyright © 2022 Egon的技术星球 egonlin.com 版权所有 帮助IT小伙伴学到真正的技术