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

@@ -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

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

View File

@@ -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: