diff options
author | AlphaJack | 2023-08-21 03:35:14 +0200 |
---|---|---|
committer | AlphaJack | 2023-08-21 03:35:14 +0200 |
commit | ad2b290c88eea041a724089c9796d914d96eb1c2 (patch) | |
tree | 7c12ab2995c49c900826a8129aa9c5e58ed7df07 /modsecurity-crs.install | |
download | aur-ad2b290c88eea041a724089c9796d914d96eb1c2.tar.gz |
Initial commit
Diffstat (limited to 'modsecurity-crs.install')
-rw-r--r-- | modsecurity-crs.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modsecurity-crs.install b/modsecurity-crs.install new file mode 100644 index 000000000000..60c3f44310db --- /dev/null +++ b/modsecurity-crs.install @@ -0,0 +1,15 @@ +post_install(){ + cat <<INFO + +To load the OWASP ModSecurity Core Rule Set in NginX, +add the following directives to your NginX configuration: + + load_module "/usr/lib/nginx/modules/ngx_http_modsecurity_module.so"; + http { + modsecurity on; + modsecurity_rules_file /etc/modsecurity/load.conf; + modsecurity_transaction_id "$request_id"; + } + +INFO +} |