python3 does not manage script_name
Bug #1438972 reported by
qmax
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uwsgi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04.2 LTS
uwsgi-plugin-
Plugin ignores script_name given from nginx and does not modify path_info.
nginx.conf:
location /test {
uwsgi_pass 127.0.0.1:9000;
include uwsgi_params;
uwsgi_param SCRIPT_NAME /test;
}
uwsgi.ini:
[uwsgi]
plugins=python3
chdir=path
virtualenv=
wsgi=filename
manage_
socket=:9000
Result of GET /test/foo
REQUEST_URI: '/test/foo'
SCRIPT_NAME: '/test'
PATH_INFO: '/test/foo' # should be /foo
To post a comment you must log in.