Posted on July 26, 2015. Reading time: 5 minutes I recently made a setup at work where I had a Nginx server facing the user, which would forward requests to a service running behind an AWS Elastic Load Balancer (aka. ELB). That in itself doesn't sound like a difficult task, you just find the hostname for the ELB and point Nginx at it with a proxy_pass statement like this, right? location / { proxy
![Nginx with dynamic upstreams - Tenzer.dk](https://cdn-ak-scissors.b.st-hatena.com/image/square/5fde76676092fe821633a62ee2611432d9378250/height=288;version=1;width=512/https%3A%2F%2Ftenzer.dk%2Fstatic%2Flogo.146608c827d1abb478a0703828cc88a4cb7ee82adc2f4c1cf42e2503f159cb97.png)