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