Modularize dynamic config
This commit is contained in:
26
dynamic.d/middlewares.yml
Normal file
26
dynamic.d/middlewares.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
Reference in New Issue
Block a user