I still think that for you best of all is to use uwsgi without nginx -
simpler setup, less layers,
I use it and I can't say that it is less performant then nginx+uwsgi

my webfaction setup
- web2py folder is in  /home/myuser/web2py
- myuser and myport are my webfaction user and

wget http://projects.unbit.it/downloads/uwsgi-1.2.3.tar.gz
tar xvzf uwsgi-1.2.3.tar.gz
cd uwsgi-1.2.3
/home/myuser/bin/python2.7 uwsgiconfig.py --build
mv uwsgi /home/myuser/bin
uwsgi --http 127.0.0.1:myport --pythonpath /home/myuser/web2py --module
wsgihandler -d /home/myuser/tmp/uwsgi.log -t 20 -r --no-orphans
--touch-reload /home/myuser/tmp/uwsgireload.txt --evil-reload-on-rss 100

Reply via email to