开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜