I only know the basics of naxsi, but bare with me.
I want to automatically have virtual hosts blocked when they are getting
too many new requests. I can't find information on solving this
particular problem with it. It might be that naxsi isn't even the best
solution. I want to define virtual host
I've got a nice easy htaccess I need to convert to nginx.
RewriteEngine On
RewriteBase /bitwasp
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
# Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sen