Hacker News new | past | comments | ask | show | jobs | submit login

I'm wondering about this myself. I'm looking into alternatives to Apache with mod_wsgi.



Seems that it does. And I would have a solution if only nginx had $request_uri_without_args...

The trick for uWSGI is to have `uwsgi_param PATH_INFO` not $document_uri (it won't work due to `rewrite ^ @nonidem last;`) but an originally requested URI. $request_uri almost does it, but fails when URI has query arguments.

On nginx mailing lists there is a suggestion to strip it myself, with Lua[1], but I'm surely not going to throw in Lua just for this.

[1] https://forum.nginx.org/read.php?2,215192,215195#msg-215195




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: