Re: rate limit with good bot IPs whitelisted

2014-11-22 Thread itpp2012
> > I was wondering if remote ip's hostname lookup can be done before > > rate-limiting it. For example, I don't want to block IPs coming from > > Nginx does not lookup remote hostnames at all. https://github.com/flant/nginx-http-rdns Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2

Re: rate limit with good bot IPs whitelisted

2014-11-22 Thread Oleksandr V. Typlyns'kyi
Today Nov 22, 2014 at 09:42 neubyr wrote: > > It will not work as you expect. > > Geo does not support variables in values. > > You need something like this: > > geo $whitelist { > > default 0; > > 127.0.0.1 1; > > ... > > } > > map $whitelist $rate_limit_ip { > > default

Re: rate limit with good bot IPs whitelisted

2014-11-22 Thread neubyr
Thank you Oleksandr!! On Sat, Nov 22, 2014 at 7:33 AM, Oleksandr V. Typlyns'kyi < wangs...@gmail.com> wrote: > Yesterday Nov 21, 2014 at 20:07 neubyr wrote: > > > I am trying to figure out if there is any way to rate limit all traffic > > except Googlebot, msnbot, yandex and baidu bots. Here is w

Re: rate limit with good bot IPs whitelisted

2014-11-22 Thread Oleksandr V. Typlyns'kyi
Yesterday Nov 21, 2014 at 20:07 neubyr wrote: > I am trying to figure out if there is any way to rate limit all traffic > except Googlebot, msnbot, yandex and baidu bots. Here is what I have > started with: > > # Whitelisted IPs > geo $rate_limit_ip { > default $binary_remote_addr; >

Best Hosting Panel to use with Nginx

2014-11-22 Thread JACK LINKERS
Hi guys, I fell in love with Nginx and want to use it on every server I'm setting up. What hosting admin panel would you recommend to use with Nginx ? I want to use Nginx as HTTP server insteads of Apache. Thanks ___ nginx mailing list nginx@nginx.org h