Blocking blank useragent requests

Marcus Clyne ngx.eugaia at gmail.com
Tue Jan 26 01:54:33 MSK 2010


Hi,

Bob wrote:
> Thanks for the response, greatly appreciated :) However I'm getting Unknown directive 'if' when trying to add this into my nginx config - any ideas?
>   
Is your 'if' statement under a server or location block?  If not, it 
won't work.

http://wiki.nginx.org/NginxHttpRewriteModule#if

Marcus.



More information about the nginx mailing list