Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ModSecurity-nginx #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kenhys
Copy link

@kenhys kenhys commented Jan 14, 2021

On CentOS 7, libmodsecurity 3.0.2 is available but ModSecuirty-nginx
requires ModSecurity 3.0.3 or later, so it is better to package
openresty-modsecurity for OpenResty with ModSecurity-nginx.

With this PR, the following customization is required to enable
ModSecurity.

  modsecurity on;
  modsecurity_rules_file PATH_TO_MODSECURITY_CONF;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant