Welcome! Log In Create A New Profile

Advanced

Problem with double slashes in urls with uwsgi and sockets

September 12, 2013 04:53PM
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.
Subject Author Posted

Problem with double slashes in urls with uwsgi and sockets

mpnally September 12, 2013 04:53PM

Re: Problem with double slashes in urls with uwsgi and sockets

Francis Daly September 12, 2013 07:24PM

Re: Problem with double slashes in urls with uwsgi and sockets

mpnally September 13, 2013 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready