Looks like it is having trouble with a file in /static. This is how I serve /static:
location /static { root /opt/web2py/applications/myapp/; } You may just need to add the appname to: root /home/www-data/web2py/applications/ Also, I don't know if you need that extra stuff on the location line.