> I have nginx + gunicorn controlled by supervisord running and I must admit coming from LAMP it went not as smooth as I hoped.
If you are so inclined, you can do it using Apache + mod_wsgi. That is very similar to how you do Apache + mod_php
Re:The Flask Mega-Tutorial
by wahnfrieden on Sunday March 24, 2013 @01:39PM
(#5432778)
mod_wsgi usage is not recommended.
Do you mean mod_wsgi or mod_python?
Re:The Flask Mega-Tutorial
by wahnfrieden on Sunday March 24, 2013 @09:30PM
(#5434776)
Sorry, got confused :) Was thinking mod_python.
For me the main problem was that all these parts have to be configured correctly or nothing much will happen at all. My advice is to first set up a static site in nginx, then try starting your project (using gunicorn) from the command line. Once your sure that both nginx and gunicorn work and know how to do it you can Google around for a supervisord + gunicorn tutorial for managing your apps.