Problem with double slashes in urls with uwsgi and sockets

mpnally nginx-forum at
Thu Sep 12 20:53:36 UTC 2013

I have python app running under uwsgi with nginx. I'm using unix sockets to
connect nginx to uwsgi. My python app is receiving single slashes in urls
that originally had a double slash. For example, if the url is
http://localhost:3000/a//b , my program gets passed a path_info with a/b
instead of a//b.

My location definition looks like this:

        location / {
            include         uwsgi_params;
            uwsgi_pass      unix:///tmp/siteserver.socket;

Your help greatly appreciated.

Posted at Nginx Forum:,242823,242823#msg-242823

More information about the nginx mailing list