Guest User

Untitled

a guest
Jul 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. geo $country {
  2. ranges;
  3. default ZZ;
  4. 127.0.0.0-127.0.0.0 US;
  5. 127.0.0.1-127.0.0.1 RU;
  6. 127.0.0.1-127.0.0.255 US;
  7. 10.1.0.0-10.1.255.255 RU;
  8. 192.168.1.0-192.168.1.255 UK;
  9. }
  10.  
  11. location /whatever {
  12. deny 123.132.123.15/32
  13. deny 123.132.123.16/28
  14. deny 123.132.123.32/28
  15. deny 123.132.123.48/31
  16. deny 123.132.123.50/32;
  17. allow all;
  18. }
Add Comment
Please, Sign In to add comment