I am using the middleware for the crowdsec Bouncer:
EntryPoint Websecure:
websecure:
address: ':443'
http:
middlewares:
traefik-crowdsec-bouncer@file
Definition Middleware
http:
middlewares:
traefik-crowdsec-bouncer:
forwardauth:
address: http://traefik-crowdsec-bouncer:8080/api/v1
forwardAuthtrustForwardHeader: true
maxResponseBodySize: 32768
maxBodySize: 1048576
If I now look in the middleware traefik-crowsdsec-bouncer MaxBodySize will be written with -1.
Also if I will fetch via API - same result. But the middleware is working - almost
As written here:
The configuration should be correct.
Error in traefik.log:
2026-06-28T14:55:37+02:00 WRN maxResponseBodySize is not configured, allowing unlimited response body size which can lead to DoS attacks and memory exhaustion. Please set an appropriate limit. entryPointName=websecure middlewareName=traefik-crowdsec-bouncer@file middlewareType=ForwardAuth routerName=suche-ip@docker
yamllint checks the file correctly - and traefik dashbord and site are working.