# Set outgoing ip for reverse proxy?

**URL:** <https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223>\
**Category:** NGINX\
**Created:** [August 15, 2013, 6:16pm UTC](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223 "2013-08-15T18:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [August 15, 2013, 6:16pm UTC](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223/1 "2013-08-15T18:16:47Z")

</div>

Hello nginx,

Iam wondering if there is anyway to bind a specific IP as the outbound  
IP to contact the backend server for a nginx instance? I serve many  
instances in a single machine and all of them using the default IP of  
the server is messy.

Thanks

Alex

---

<div class="post-metadata">

**Author:** ![Alex\_Flex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex\_Flex](https://www.ruby-forum.com/u/Alex_Flex)\
**Post date:** [August 15, 2013, 7:43pm UTC](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223/2 "2013-08-15T19:43:16Z")

</div>

On 8/15/13 9:16 PM, Alex Flex wrote:

> Hello nginx,
> 
> Iam wondering if there is anyway to bind a specific IP as the  
> outbound IP to contact the backend server for a nginx instance? I  
> serve many instances in a single machine and all of them using the  
> default IP of the server is messy.

> **[Module ngx\_http\_proxy\_module](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_bind)**
>
> The ngx\_http\_proxy\_module module allows passing requests to another server.

–  
Maxim K.

> **[F5 NGINX: Built for cloud-native apps. Ready for AI traffic.](https://www.f5.com/products/nginx)**
>
> Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.
