That looks right. This is what I have. Are you getting an error or the wrong 
file? Might need to look in your nginx access.log to see what it's trying to 
serve. Maybe there's a conflict with routes.py?

    server {
        server_name _;

        location / {
            uwsgi_pass 127.0.0.1:9001;
            include uwsgi_params;
            uwsgi_param     UWSGI_SCHEME $scheme;
        }

        location /static {
            root /var/web2py/applications/init/;
        }
    }

Reply via email to