centos 配置 nginx 和 uwsgi 运行 python 脚本

安装 uwsgit

pip install uwsgi

添加响应文件。

vim /data/install/bin/pptserver.py

内容是:

cat /data/install/bin/pptserver.py 
from flask import Flask,render_[......]

查看更多内容

Posted in 运维相关 | centos 配置 nginx 和 uwsgi 运行 python 脚本已关闭评论