I just noticed this oddity with a missing trailing slash running on
nginx per http://projects.unbit.it/uwsgi/wiki/RunOnNginx
location /script {
uwsgi_pass unix:///tmp/script.sock;
include uwsgi_params;
uwsgi_param SCRIPT_NAME /script;
uwsgi_modifier1 30;
}
nginx will accept urls such as
/scriptfoobar
which was the same as /script/foobar but not quite what I wanted :-)
Adding the trailing slash to location /script/ { solves the problem,
and /script is automatically redirected to /script/
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi