Hi all,
I know how to block requests with an empty user-agent or with an empty
referrer - is it possible to combine these two criteria and deny access
when a request has no referrer AND no user-agent?
Regards,
Peter
Hi all,
I know how to block requests with an empty user-agent or with an empty
referrer - is it possible to combine these two criteria and deny access
when a request has no referrer AND no user-agent?
Regards,
Peter
This should give you the idea:
http://rosslawley.co.uk/2010/01/nginx-how-to-multiple-if-statements.html
----- Original Message -----
From: “Peter Hinse” [email protected]
To: [email protected]
Sent: Thursday, April 05, 2012 4:30 PM
Subject: Combine if clauses for denial
Am 05.04.2012 17:11, schrieb Falko T.:
http://rosslawley.co.uk/2010/01/nginx-how-to-multiple-if-statements.html
Thanks, that will do it I guess.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs