推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
for8ever
V2EX  ›  Python

Flask + nginx1.6 + uwsgi 如何配置?

  •  
  •   for8ever ·
    hojas · Aug 7, 2014 · 3808 views
    This topic created in 4322 days ago, the information mentioned may be changed or developed.
    按照网上的方法,搞了好久,一直不成功,对 nginx 不熟悉,求教啊!是在 ubuntu 环境下的。
    3 replies    2014-08-08 13:44:41 +08:00
    hydrazt
        1
    hydrazt  
       Aug 7, 2014
    http://flask.pocoo.org/docs/deploying/uwsgi/
    按照这上面的步骤吧。
    ryd994
        3
    ryd994  
       Aug 8, 2014
    50x的话先看看nginx的log说什么
    然后telnet uwsgi的端口,看看端口开不开,另外有没有uwsgi的进程
    再看uwsgi的log

    错误信息放狗搜一搜一般就有答案了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2963 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 14:43 · PVG 22:43 · LAX 07:43 · JFK 10:43
    ♥ Do have faith in what you're doing.