在Centos7 上配置Django + nginx + uwsgi
- 安装Django
yum install python-pip
pip install django
2.安装nginx
yum install nginx
3.安装uwsgi
yum install uwsgi
yum install uwsgi-plugin-python
问题:
- no app load . going in full dynamic mode
原因1
uwsgi xml 配置文件中django app路径不足正确
解决方法:
修改<chdir>目录
原因2
没有安装uwsgi-plugin-python
解决方法:
yum install uwsgi-plugin-python
2.uwsgi : option '--http' is ambiguous; possibilities: '--http-socket'...
原因1
没有安装uwsgi-plugin-common
yum install uwsgi-plugin-common
yum install uwsgi-plugin-python
网友评论