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

Re: Why fastcgi_temp, scgi_temp, uwsgi_temp directories getting created under home dir

2017-05-25 Thread Maxim Dounin
Hello! On Thu, May 25, 2017 at 02:56:47PM +, Prabhash Rathore wrote: > Hello, > > We see following directories getting created in our home directory when we > install nginx: > > - fastcgi_temp > - scgi_temp > - uwsgi_temp > > Can someone please tell me what are these directories and how ca

Why fastcgi_temp, scgi_temp, uwsgi_temp directories getting created under home dir

2017-05-25 Thread Prabhash Rathore
Hello, We see following directories getting created in our home directory when we install nginx: - fastcgi_temp - scgi_temp - uwsgi_temp Can someone please tell me what are these directories and how can I configure nginx not to create these or create at a different location? At first I thought

RE: Rewrite to a different host (round robin)

2017-05-25 Thread Reinis Rozitis
> Any idea how to do it? Is there a reason why do you want to do it with nginx rather than for example a simple DNS round robin? (especially if as per your previous mail - you don't want to send the traffic through the nginx loadbalancer) rr ___ ngin

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