> > You can find web2py configuration example here: > > http://projects.unbit.it/uwsgi/wiki/Example#Web2Py2uWSGI > > I tried uwsgi + nginx + web2py and got everything working, including https, except for access to web2py administrative interface which is refused because - error message - the password file is 'not readable' . File permissions are fine, and nginx + fcgi works perfectly.
Is the following correct? uwsgi --pythonpath /path/to/web2py --module wsgihandler --socket :9001 --pyargv "-a mypasswd" In nginx.conf I have: server { listen 80; server_name my.server.name; access_log /var/log/web2py_access.log; location / { uwsgi_pass 127.0.0.1:9001; include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; } location /static { root /var/www/web2py/applications/init/; } } server { listen 443; ssl on; ssl_certificate /etc/ssl/nginx/nginx.pem; ssl_certificate_key /etc/ssl/nginx/nginx.key; keepalive_timeout 70; server_name my.server.name; access_log /var/log/web2py_access.log; location / { uwsgi_pass 127.0.0.1:9001; include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; } location /static { root /var/www/web2py/applications/init/; } } Thanks for any hints.