add modsecurity-snippet key
This commit is contained in:
parent
fd9acd412f
commit
72c4ffa8b5
3 changed files with 12 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