> > 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
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
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
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;
>
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