Problem with uWSGI and PATH_INFO

Etienne Robillard tkadm30 at yandex.com
Thu Jul 27 17:04:24 UTC 2017


Hi Roberto,

That is not effective. My app uses PATH_INFO to resolve a URL (ie: 
/blog/create/) to a callback function.

Could it be possible to just use :

uwsgi_param PATH_INFO $path_info

Assuming $path_info is the request_uri minus the location...

E

Le 2017-07-27 à 12:47, Roberto De Ioris a écrit :
> Then just add
>
> uwsgi_param SCRIPT_NAME "";
>
> in uwsgi_params :)
>

-- 
Etienne Robillard
tkadm30 at yandex.com
http://www.isotopesoftware.ca/



More information about the nginx mailing list