Split dynamic config into type-specific files
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
http:
|
||||
middlewares:
|
||||
crowdsec:
|
||||
plugin:
|
||||
bouncer:
|
||||
enabled: true
|
||||
crowdsecMode: stream
|
||||
crowdsecLapiHost: "localhost:8080"
|
||||
crowdsecLapiKey: gFJjSzdbB0GCe/1Y9HcxMPP1vQmoa4psZOFyleJZJVQ
|
||||
compress-middleware:
|
||||
compress:
|
||||
encodings:
|
||||
@@ -20,7 +13,3 @@ http:
|
||||
- application/javascript
|
||||
- application/json
|
||||
- text/plain
|
||||
retry-fast:
|
||||
retry:
|
||||
attempts: 2
|
||||
initialInterval: 50ms
|
||||
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
|
||||
@@ -3,7 +3,8 @@ http:
|
||||
qbit:
|
||||
rule: Host(`qbit.gbanyan.net`)
|
||||
service: qbit
|
||||
entryPoints: ["internal_websecure"]
|
||||
entryPoints:
|
||||
- internal_websecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
services:
|
||||
Reference in New Issue
Block a user