Skip to content

Unable to turn off writing to the server log even set to nolog,noauditlog #2698

Open
@Taymindis

Description

@Taymindis

Describe the bug
I have set this to return status 418 but i do not want any logs inside the nginx

SecRule REQUEST_HEADERS"@contains vip_checking" "phase:2,id:70010,deny,nolog,noauditlog,status:418"

But it somehow show error log in nginx.

*441580 [client 10.42.0.1] ModSecurity: Access denied with code 418 (phase 2). Matched "Operator `Contains' with parameter `vip_checking' against variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xRelated to ModSecurity version 3.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions