How to limit_req depending if the requests has a REFERER or not.

Micheal Wolfskill tdgh2323 at hotmail.com
Tue Apr 3 22:09:29 UTC 2012








Hello.  

I have something like this... I need to be able to apply three different limit_req depending:

a.) If the referer to click.php is domain.com ... apply zone1
b.) If there is some other referer apply zone2 on click.php
c.) If there is no referer apply zone3 on click.php



  location /click.php { 
                                   limit_req zone=one nodelay; 
                                   proxy_pass http://22.136.1.121:80/; 
                                   }

Mike
 		 	   		  
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120403/9e10fcca/attachment.html>


More information about the nginx mailing list