Split dynamic config into type-specific files
This commit is contained in:
15
dynamic.d/middlewares/compress.yml
Normal file
15
dynamic.d/middlewares/compress.yml
Normal 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
|
||||
9
dynamic.d/middlewares/crowdsec.yml
Normal file
9
dynamic.d/middlewares/crowdsec.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
http:
|
||||
middlewares:
|
||||
crowdsec:
|
||||
plugin:
|
||||
bouncer:
|
||||
enabled: true
|
||||
crowdsecMode: stream
|
||||
crowdsecLapiHost: "localhost:8080"
|
||||
crowdsecLapiKey: gFJjSzdbB0GCe/1Y9HcxMPP1vQmoa4psZOFyleJZJVQ
|
||||
6
dynamic.d/middlewares/retry.yml
Normal file
6
dynamic.d/middlewares/retry.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
http:
|
||||
middlewares:
|
||||
retry-fast:
|
||||
retry:
|
||||
attempts: 2
|
||||
initialInterval: 50ms
|
||||
Reference in New Issue
Block a user