Report this

What is the reason for this report?

What is the best web server firewall for nginx?

Posted on February 9, 2014
FMCB

By FMCB

I’m having hard time with setting mod_security module for my web server nginx. I get a lot of issues and errors before compiling the files.

I followed a lot of tuts on the net, but mostly end up with either none working process or cut steps that I don’t understand what to do next…

any idea??

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@Kamal, Thanks for asking. I tried the following specifically for mod_security… <br> <br> https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#wiki-Installation_for_NGINX <br> <br>http://www.nginxtips.com/how-to-install-mod_security-on-nginx/ <br> <br>http://blog.madjoudj.com/2013/12/getting-started-with-modsecurity-for.html <br> <br>http://cronylab.pl/art,nginx,modsecurity,howto,201.html <br> <br> <br>And the last one available at DO, but for Apache, not Nginx: <br> <br>https://www.digitalocean.com/community/articles/how-to-set-up-mod_security-with-apache-on-debian-ubuntu <br> <br>it doesn’t seem to be compatible with Nginx. so That’s why I was wondering if I can replace Mod_security with Naxsi or not!!! <br> <br>Any idea?? <br>

IPTables?

Very interested here!!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.