Re: Block countries - Nginx

2018-05-21 Thread Sathish Kumar
Hi All, Is there a way, I can block the clients which is coming through load balancer using http geo ip module nginx. Currently, I can block the clients which is not coming through load balancer or api gateway by geo ip module. On Mon, May 21, 2018, 2:02 PM basti wrote: > hello, > the way

Re: Nginx Rate limiting for HTTPS requests

2018-05-21 Thread Maxim Dounin
Hello! On Mon, May 21, 2018 at 09:55:20AM -0400, rickGsp wrote: > >>I'm pretty sure the problem is with your tests, not with nginx > >>request rate limiting. Unfortunately, it is not possible to > >>reproduce your tests and check what's going wrong as you are using > >>proprietary software for

Re: Reverse proxy for multiple domains

2018-05-21 Thread Mik J via nginx
Hello, Sorry if I'm asking again a question on the same topic. I would like to know what is the best practice to setup a web proxy. I do it like this - 1 virtual host per application on the reverse proxy and the proxy_pass points to one IP+path - 1 virtual host (default) for all application on

Re: Nginx Rate limiting for HTTPS requests

2018-05-21 Thread rickGsp
>>I'm pretty sure the problem is with your tests, not with nginx >>request rate limiting. Unfortunately, it is not possible to >>reproduce your tests and check what's going wrong as you are using >>proprietary software for tests. >>As suggested previously, it might be a good idea to verify numb

Re: unix sockets are not reused when restarting nginx

2018-05-21 Thread Maxim Dounin
Hello! On Sun, May 20, 2018 at 01:20:07PM +0300, Volodymyr Kostyrko wrote: > Hello. > > I'm using nginx 1.14.0 on FreeBSD 11-STABLE. I'm trying to get caching > for internally generated content so I'm proxying nginx to nginx: > > server { > listen unix:/home/someuser/.media.nginx.sock

Re: Nginx Rate limiting for HTTPS requests

2018-05-21 Thread Maxim Dounin
Hello! On Sun, May 20, 2018 at 04:24:21AM -0400, rickGsp wrote: > >>As I tried to explain in my previous message, "test runs for 60 > >>seconds" can have two different meanings: 1) the load is generated > >>for 60 seconds and 2) from first request started to the last > >>request finished it ta