Although there are many HTTP proxies available, we strongly advise that you use Nginx. If you choose another proxy server you need to make sure that it buffers slow clients when you use default Gunicorn workers. Without this buffering Gunicorn will be easily susceptible to denial-of-service attacks.
当然不是。您可以使用lighttpd或任何其他支持WSGI、SCGI、FastCGI或AJP的web服务器。您可以参考这个python documentation和django documentation,关于stackoverflow的这两个问题:Cleanest & Fastest server setup for Django,Differences and uses between WSGI, CGI, FastCGI, and mod_python in regards to Python?可能也有帮助。在
@http://gunicorn.org/#deployment
@http://docs.gunicorn.org/en/latest/deploy.html
您不需要前端代理;您可以将gunicorn这样的独立web服务器直接放到生产环境中。但是有各种各样的原因,你可能want to use a frontend webserver anyway。在
相关问题 更多 >
编程相关推荐