开发者

uwsgi / mod_wsgi handling pylons redirect_to & error pages

开发者 https://www.devze.com 2023-01-11 12:59 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号