문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top