Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. acl unwanted {
  2. "69.60.116.0"/24;
  3. "69.90.119.207";
  4. }
  5.  
  6. sub vcl_recv {
  7. if (client.ip ~ unwanted) {
  8. error 410;
  9. }
  10. ...
  11. }
  12.  
  13. error 403;
  14.  
  15. return(synth(403, "Access denied"));
  16.  
  17. acl unwanted {
  18. "69.60.116.0"/24;
  19. "69.90.119.207";
  20. }
  21.  
  22. sub vcl_recv {
  23. if (client.ip ~ unwanted) {
  24. return(synth(403, "Access denied"));
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement