【文件属性】:
文件名称:python-fastcgi-nginx-configuration:Python FastCGI + Nginx 配置
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-05 03:04:16
Shell
带有 Nginx 配置的 Python FastCGI
带有 Nginx 配置的 Python FastCGI 脚本。
该脚本基于 WSGI 规范(Web 服务器网关接口),用于连接 Web 服务器和 Python Web 框架/应用程序。
使用最智能的配置与 Nginx 进行负载平衡( upstream指令)。
安装
安装 Nginx 配置后,确保有接收 pid 文件的目录。
mkdir /var/run/wsgisample
只需使用以下命令启动守护程序。
/etc/init.d/wsgi-sample start
【文件预览】:
python-fastcgi-nginx-configuration-master
----fcgi()
--------wsgi-sample.fcgi(1KB)
----etc()
--------init.d()
--------nginx()
----README.md(595B)
----.gitignore(7B)