# Proxy\_upstrem error

**URL:** <https://www.ruby-forum.com/t/proxy-upstrem-error/213426>\
**Category:** NGINX\
**Created:** [November 1, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/proxy-upstrem-error/213426 "2011-11-01T20:23:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [November 1, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/proxy-upstrem-error/213426/1 "2011-11-01T20:23:44Z")

</div>

Hi,

We are using nginx 0.7.67, and we need to filter a specific error, and  
match it with proxy\_next\_upstream.  
The error we need is when a client send a Connection Reset. I believe  
nginx filter it with “proxy\_next\_upstream error” along with all the  
others connection errors. For ours application the reset error must be  
the only one filtered and then the nginx would use proxy\_next\_upstream  
to send the request to another machine.

Is there a way to do such filter in nginx configuration?

Thanx

Felipe Diniz
