摘要: 版本:Nginx 1.0.5 uwsgi 1.1.2 Python 2.7.2原理:nginx配置 location /python { include uwsgi_params; uwsgi_pass 127.0.0.1:9090;}uwsgi启动参数 uwsgi --socket :9090 --wsgi-file /var/www/project/hello.pyhello.py 文件def application(env, start_response): start_response('200 OK', [('Content-Typ... 阅读全文
posted @ 2012-05-04 18:43 shosciation 阅读(895) 评论(2) 推荐(1) 编辑