You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,15 @@ If it is > 400, then the error page is returned instead.
40
40
41
41
The *dummy* service is created so the waf container forward the request to a service and respond with 200 OK all the time.
42
42
43
+
## Configuration
44
+
45
+
This plugin supports these configuration:
46
+
47
+
*`modSecurityUrl`: (**mandatory**) it's the URL for the owasp/modsecurity container.
48
+
*`maxBodySize`: (optional) it's the maximum limit for requests body size. Requests exceeding this value will be rejected using `HTTP 413 Request Entity Too Large`.
49
+
The default value for this parameter is 10MB. Zero means "use default value".
50
+
51
+
**Note**: body of every request will be buffered in memory while the request is in-flight (i.e.: during the security check and during the request processing by traefik and the backend), so you may want to tune `maxBodySize` depending on how much RAM you have.
0 commit comments