3 messages in ru.sysoev.nginxRe: nginx as Loadbalancer, router + NAT
FromSent OnAttachments
Sascha sk. KainJul 29, 2008 4:10 am 
Igor SysoevJul 29, 2008 5:11 am 
Sascha sk. KainJul 29, 2008 5:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx as Loadbalancer, router + NATActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 29, 2008 5:11:20 am
List:ru.sysoev.nginx

On Tue, Jul 29, 2008 at 01:10:51PM +0200, Sascha sk. Kain wrote:

we planing to switch our websites Loadbalancer to Nginx. Currently it is a Pound LB with around 1000-2000 connections/s and all
Backend-Servers are in the same official Subnet. We want to make all Backend-Webservers private (192.168.x.x) and only the LB
with an official IP address and NAT to the backends. Is this possible with nginx? I only see examples with 127.0.0.1. Does NAT and routing use a lot more Load?

If I understand your question, you may set any addreses in upstream:

upstream backend { server 192.168.1.1; server 192.168.1.2; server 192.168.1.3; server 192.168.2.1; server 192.168.2.1; # and server 127.0.0.1; # and even server unix:/tmp/socket; }