Split dynamic config into type-specific files

This commit is contained in:
2025-11-13 01:32:08 +08:00
parent b245ab0efa
commit 3ab08cecd2
5 changed files with 17 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
http:
middlewares:
compress-middleware:
compress:
encodings:
- zstd
- br
- gzip
minResponseBodyBytes: 1024
includedContentTypes:
- text/html
- text/css
- application/javascript
- application/json
- text/plain

View File

@@ -0,0 +1,9 @@
http:
middlewares:
crowdsec:
plugin:
bouncer:
enabled: true
crowdsecMode: stream
crowdsecLapiHost: "localhost:8080"
crowdsecLapiKey: gFJjSzdbB0GCe/1Y9HcxMPP1vQmoa4psZOFyleJZJVQ

View File

@@ -0,0 +1,6 @@
http:
middlewares:
retry-fast:
retry:
attempts: 2
initialInterval: 50ms