title: NGINX - Server configuration with multiple interfaces
body: <p>I'm having trouble with nginx during configuration of multiple website. I'm using multiples debian VM's on Virtualbox (Windows, not a choice).
  The setup I try to do is :</p>
  
  <p>-One "front" VM with 2 network interfaces, one connected to the internet (NAT), and the other on a subnetwork not connected to internet (NAT network). Nginx bind on the "internet" interface.</p>
  
  <p>-Two "back" VM with apache, each one with only one interface connected to the same subnetwork than the front VM.</p>
  
  <p>The front VM is getting the requests from the client and proxy pass it to the right back-VM. </p>
  
  <p>The problem is that on the front VM, nginx wont redirect on the right interface and try to redirect on the internet interface. </p>
  
  <p>So my question is: can we specify to nginx  wich interface to use to redirect the requests ? </p>
  
  <p>Thank in advance for the answers </p>