uwsgi / mod_wsgi handling pylons redirect_to & error pages
My stack is nginx > uwsgi > pylons.
If I use redirect_to on a controller, the app throws a 302 开发者_Python百科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.
精彩评论