owasp-modsecurity / owasp-modsecurity/ModSecurity-nginx
Amazon-linux: unknown directive.
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 1.9k
- Forks
- 312
- PR merge metrics
- No merged PRs in 30d
Description
I run the compilation in AWS-linux 2023 as in the readme:
$ ./build.sh
$ ./configure
$ make
$ sudo make install
Now it seems to complete but after restarting the standard Nginx package, with "modsecurity on" added to config, I get:
nginx: [emerg] unknown directive "modsecurity" in (config file)
Is there a step missing to recompile all of Nginx or, enable the module I compiled?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README and trace the documented build.sh, ./configure, make, and make install steps on AWS Linux 2023. Then inspect how the standard Nginx package loads the compiled connector and verify the result by restarting Nginx with "modsecurity on" in its configuration without the unknown-directive error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, linux, nginx
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100