# NGINX in bridge mode?

**URL:** <https://www.ruby-forum.com/t/nginx-in-bridge-mode/223435>\
**Category:** NGINX\
**Created:** [October 4, 2012, 2:03am UTC](https://www.ruby-forum.com/t/nginx-in-bridge-mode/223435 "2012-10-04T02:03:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [October 4, 2012, 2:03am UTC](https://www.ruby-forum.com/t/nginx-in-bridge-mode/223435/1 "2012-10-04T02:03:54Z")

</div>

Hello,

I have developed this module which performs some changes to webpages.

But performance is not as good as I expected because a reverse proxy  
node  
between the client and the server introduces quite some latency (I’m  
seeing  
around 15% drop in performance here). I believe this is because the  
NGINX  
box has to terminate all the TCP connections from the clients, and make  
new  
ones to the web server.

I wonder if it is possible to run NGINX over two bridged interfaces.  
That  
way, the NGINX module would change the traffic while it is bridged  
towards  
the web server, but it would not need to establish new TCP connections.

Does it make sense?

Thanks in advance,  
A. Santos

Posted at Nginx Forum:

> **[NGINX in bridge mode?](https://forum.nginx.org/read.php?2,231367,231367#msg-231367)**
>
> Hello, I have developed this module which performs some changes to webpages. But performance is not as good as I expected because a reverse proxy node between the client and the server introduces quite some latency (I'm seeing around 15% drop in...
