Advertisement
Guest User

fuf-acl.vcl

a guest
Jul 25th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. // Disable ESI request from external
  2. if (req.esi_level == 0 && req.url ~ "^/__esi__/") {
  3. return (synth(403, "Sorry, this content is not intented for you. Bye."));
  4. }
  5.  
  6. // Disable nginx status page from external
  7. if (req.url ~ "^/nginx_status") {
  8. return (synth(403, "Sorry, this content is not intended for you."));
  9. }
  10.  
  11. // Production setting:
  12. if (client.ip ~ badguys) {
  13. return (synth(403, "You are banned from this site. Please contact via a different client configuration or call us if you believe that this is a mistake."));
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement