4 ms·
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
by Bootvis 14y 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.
- irahul 14y ago> 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
- wahnfrieden 14y agomod_wsgi usage is not recommended.
- slashclee 14y agoAccording to whom?
- mercurial 14y agoDo you mean mod_wsgi or mod_python?
- wahnfrieden 14y agoSorry, got confused :) Was thinking mod_python.