NGINX in bridge mode?

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: