Hacker News new | ask | show | jobs
by Bootvis 4835 days ago
I have nginx + gunicorn controlled by supervisord running and I must admit coming from LAMP it went not as smooth as I hoped.

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.

1 comments

> 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

mod_wsgi usage is not recommended.
Do you mean mod_wsgi or mod_python?
Sorry, got confused :) Was thinking mod_python.
According to whom?