Files
GB-Traefik/dynamic.d/middlewares.yml
2025-11-13 01:24:48 +08:00

27 lines
620 B
YAML

http:
middlewares:
crowdsec:
plugin:
bouncer:
enabled: true
crowdsecMode: stream
crowdsecLapiHost: "localhost:8080"
crowdsecLapiKey: gFJjSzdbB0GCe/1Y9HcxMPP1vQmoa4psZOFyleJZJVQ
compress-middleware:
compress:
encodings:
- zstd
- br
- gzip
minResponseBodyBytes: 1024
includedContentTypes:
- text/html
- text/css
- application/javascript
- application/json
- text/plain
retry-fast:
retry:
attempts: 2
initialInterval: 50ms