Re: [web2py] Cookbook recipe for nginx/uwsgi woes

2012-04-11 Thread Johann Spies
On Wednesday, 11 April 2012 16:08:07 UTC+2, rochacbruno wrote: Thanks for your reply Note that in some versions uwsgi files are located at /etc/*uswgi-python* > /apps-available/filename.xml > > Which version os Linux and uwsgi are you using? > Debian testing/sid with the uwsgi that come with D

Re: [web2py] Cookbook recipe for nginx/uwsgi woes

2012-04-11 Thread Bruno Rocha
Note that in some versions uwsgi files are located at /etc/*uswgi-python* /apps-available/filename.xml Which version os Linux and uwsgi are you using? Here are a working example: https://gist.github.com/2359513 -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Cookbook recipe for nginx/uwsgi woes

2012-04-11 Thread Johann Spies
I get '*502 Bad Gateway' *errors with the following setup: /etc/nginx/sites-available/web2py: server { lister 80; server_name $hostname; location ~* /(\w+)/static/ { root /home/www-data/web2py/applications/; } location / { uwsgi_pass 127.0.0.1:9001;