uwsgi / mod_wsgi handling pylons redirect_to & error pages
-
27-09-2019 - |
Question
My stack is nginx > uwsgi > pylons.
If I use redirect_to on a controller, the app throws a 302 error. Also I don't see any 404 or 500 error pages anymore that worked fine in paste.
Any pointers would be greatly appreciated.
Thanks.
Solution
uwsgi_param SCRIPT_NAME '';
Add that to your nginx config.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow