Re: Rewrite to a different host (round robin)

2017-05-25 Thread Jesus arteche
I wouldn't like to consume bandwidth on the server with NGINX, and I don't have DNS server ( I can not for technical reasons), so it has to be IP rewrite or redirect :) On Thu, May 25, 2017 at 1:40 PM, Reinis Rozitis wrote: > > Any idea how to do it? > > Is there a reason why do you want to do i

Rewrite to a different host (round robin)

2017-05-25 Thread Jesus arteche
Hey guys, I have a pool of host where I'd like to do a rewire to, following a round robin algorithm. I can ot make nginx or nginx plus accept upstream hosts..or a variable set by set_random like here https://serverfault.com/questions/597671/load-balancing-in-nginx-with-redirect-rather-than-proxy

Load balancer without sending traffic through

2017-05-23 Thread Jesus arteche
hey guys, Would be possible to load balance traffic to different servers without sending traffic through? I'd like to upload files, and the frontend servers are several, so using round robin, I'd like to send the first request to the first, second to second... Client will request to nginx to uploa