Skip to content

Plugin Mod Security Middleware

Appears in

  • .Values.middlewares.$name.data

pluginName

Define the pluginName

Keymiddlewares.$name.data.pluginName
Typestring
Required
Helm tpl
Defaulttraefik-modsecurity-plugin

Example

middlewares:
middleware-name:
data:
pluginName: my-plugin-name

modSecurityUrl

Define the modSecurityUrl

Keymiddlewares.$name.data.modSecurityUrl
Typestring
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
modSecurityUrl: https://example.com

timeoutMillis

Define the timeoutMillis

Keymiddlewares.$name.data.timeoutMillis
Typeint
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
timeoutMillis: 1000

maxBodySize

Define the maxBodySize

Keymiddlewares.$name.data.maxBodySize
Typeint
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
maxBodySize: 1024

Full Examples

middlewares:
middleware-name:
enabled: true
type: plugin-mod-security
data:
pluginName: my-plugin-name
modSecurityUrl: https://example.com
timeoutMillis: 1000
maxBodySize: 1024