Skip to content

Amazon-linux: unknown directive. #350

Open
@Luke-SF

Description

@Luke-SF

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions