Blocking by user agent if ip doesn't match

António P. P. Almeida appa at
Wed Jun 1 01:04:11 MSD 2011

On 31 Mai 2011 20h34 WEST, igor at wrote:

> It works since 0.9.6. I'm going to change case sensitivity like this
> ~Google      # case sensitive
> ~*google     # case insensitive
> Expression compatible with old and new syntax (for gracefull
> upgrade):

Question: Is using the map directive more efficient than using a
"naive" if with access control directives?

--- appa

More information about the nginx mailing list