Merge pull request #4087 from MRoci/master
Define Modsecurity Snippet via ConfigMap
This commit is contained in:
commit
fb025ab501
4 changed files with 54 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ type Configuration struct {
|
|||
// By default this is disabled
|
||||
EnableOWASPCoreRules bool `json:"enable-owasp-modsecurity-crs"`
|
||||
|
||||
// ModSecuritySnippet adds custom rules to modsecurity section of nginx configuration
|
||||
ModsecuritySnippet string `json:"modsecurity-snippet"`
|
||||
|
||||
// ClientHeaderBufferSize allows to configure a custom buffer
|
||||
// size for reading client request header
|
||||
// http://nginx.org/en/docs/http/ngx_http_core_module.html#client_header_buffer_size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue