Plugin Mod Security Middleware
Appears in
Section titled “Appears in”.Values.ingressMiddlewares.traefik.$name.data
pluginName
Section titled “pluginName”Define the pluginName
| Key | ingressMiddlewares.traefik.$name.data.pluginName |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | traefik-modsecurity-plugin |
Example
ingressMiddlewares: traefik: middleware-name: data: pluginName: my-plugin-namemodSecurityUrl
Section titled “modSecurityUrl”Define the modSecurityUrl
| Key | ingressMiddlewares.traefik.$name.data.modSecurityUrl |
| Type | string |
| Required | ✅ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: modSecurityUrl: https://example.comtimeoutMillis
Section titled “timeoutMillis”Define the timeoutMillis
| Key | ingressMiddlewares.traefik.$name.data.timeoutMillis |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: timeoutMillis: 1000maxBodySize
Section titled “maxBodySize”Define the maxBodySize
| Key | ingressMiddlewares.traefik.$name.data.maxBodySize |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: maxBodySize: 1024Full Examples
Section titled “Full Examples”ingressMiddlewares: traefik: middleware-name: enabled: true type: plugin-mod-security data: pluginName: my-plugin-name modSecurityUrl: https://example.com timeoutMillis: 1000 maxBodySize: 1024