uwsgi / mod_wsgi handling pylons redirect_to & error pages
-
27-09-2019 - |
문제
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.
해결책
uwsgi_param SCRIPT_NAME '';
Add that to your nginx config.
제휴하지 않습니다 StackOverflow