Remove redundant block-ip middleware
This commit is contained in:
13
dynamic.yml
13
dynamic.yml
@@ -1,9 +1,5 @@
|
|||||||
http:
|
http:
|
||||||
middlewares:
|
middlewares:
|
||||||
block-ip-access:
|
|
||||||
headers:
|
|
||||||
customRequestHeaders:
|
|
||||||
Host: "" # This will catch requests with no Host header or invalid ones
|
|
||||||
crowdsec:
|
crowdsec:
|
||||||
plugin:
|
plugin:
|
||||||
bouncer:
|
bouncer:
|
||||||
@@ -25,15 +21,6 @@ http:
|
|||||||
- application/json
|
- application/json
|
||||||
- text/plain
|
- text/plain
|
||||||
routers:
|
routers:
|
||||||
block-direct-access:
|
|
||||||
rule: "HostRegexp(`{host:.+}`)" # Matches any host
|
|
||||||
service: noop@internal
|
|
||||||
priority: -1 # Low priority to catch unmatched requests
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
middlewares:
|
|
||||||
- block-ip-access
|
|
||||||
qbit:
|
qbit:
|
||||||
rule: Host(`qbit.gbanyan.net`)
|
rule: Host(`qbit.gbanyan.net`)
|
||||||
service: qbit
|
service: qbit
|
||||||
|
|||||||
Reference in New Issue
Block a user