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>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
