Global denial for certain IPs or agents?

mex nginx-forum at
Tue May 10 14:44:21 UTC 2016

Hi Alex,

you can do it that way or use something like this
inside your server {} block:

      allow IP1;
      allow IP2;
      allow IP3;

      deny all;

Posted at Nginx Forum:,266738,266750#msg-266750

More information about the nginx mailing list