please convert this .htaccess to NGINX rewrite

escavern nginx-forum at
Thu Dec 30 11:06:20 MSK 2010

could somebody convert this .htaccess to NGINX rewrite,,??
i need it stop my forum from automatic bot poster..

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^.*(6a1pre).* [NC]
RewriteRule ^(.*)$ - [F,L]

if u could help me, u're the best !

Posted at Nginx Forum:,162173,162173#msg-162173

More information about the nginx mailing list