I'm using NginX and want to incorporate ModSec as a module. After doing some research, there only was one link that talked about how "ModSecurity must be compiled with the source code of the main server." I'm assuming that means it needs to compiled with Apache? (not really sure since I'm new to this)
Is ModSec compatible with NginX?
Are there an alternative to ModSec if not?
Please provide insights/links if possible!
Thanks!
Update Answer from ModSec lead developer:
This implementation contains 3 parts, ModSec, NginX, and a ModSec-NginX connector.
tutorial can be found here for Ubuntu 16.04: [link]https://www.howtoforge.com/tutorial/nginx-with-libmodsecurity-and-owasp-modsecurity-core-rule-set-on-ubuntu-1604/
PS. make sure when you're download the latest stable code for NginX