Skip to content

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;

This spec is based on EPEL7

https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/l/libmodsecurity-3.0.2-6.el7.src.rpm
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
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