> So,
>
> You mean that I should not send 0 or 1 but a status and let nginx send 0
> if it sees a status of 404 and proxy the file if the application yields a
> 500 header ?
>
> if would end with :
>
> nginx :
> /mylocation {
>       include uwsgi_params;
>       #other stuffs to lead to my app socket
>       uwsgi_intercept_errors on;
>
>       error_page =  404 @my404handler;
>       error_page = 500 $uri;
>
> }
> my404handler {
>     return 0;
> }
>
> That is the logic ?

yes, i think it should work and it looks more elegant the intercepting
response body
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to