Windows下nginx配置python服务器
参考文献 http://blog.163.com/sky20081816@126/blog/static/1647610232010824262695/
安装python
运行WinPython-64bit-2.7.9.2.exe
并手动设置PATH环境变量
安装flup包
下载 http://www.saddi.com/software/flup/dist/flup-1.0.2.tar.gz
解压
在解压目录中运行
python setup.py install
成功提示
Installed f:/python25/lib/site-packages/flup-1.0.2-py2.5.egg
Processing dependencies for flup==1.0.2
Finished processing dependencies for flup==1.0.2
创建Python server
创建fcgi.py文件
<