# Conditional return of proxied responses

**URL:** <https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194307>\
**Category:** NGINX\
**Created:** [September 2, 2010, 9:21am UTC](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194307 "2010-09-02T09:21:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neal\_Richter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Neal\_Richter](https://www.ruby-forum.com/u/Neal_Richter)\
**Post date:** [September 2, 2010, 9:21am UTC](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194307/1 "2010-09-02T09:21:42Z")

</div>

We’re using elastic IPs yet for an auto scaling backend’s pool with  
possibly hundreds of instances… Costs and other irritations add up.

I’ve implemented this and other useful extensions to apaches mod\_proxy  
here:

> **[GitHub - nealrichter/mod\_proxy\_http\_sla: Implements an SLA and error...](https://github.com/nealrichter/mod_proxy_http_sla)**
>
> Implements an SLA and error supression for proxied requests with mod\_proxy\_http - GitHub - nealrichter/mod\_proxy\_http\_sla: Implements an SLA and error supression for proxied requests with mod\_proxy...

Any quick advice on doing the same in nginx?

Thanks - Neal
