Remove redundant block-ip middleware
This commit is contained in:
13
dynamic.yml
13
dynamic.yml
@@ -1,9 +1,5 @@
|
||||
http:
|
||||
middlewares:
|
||||
block-ip-access:
|
||||
headers:
|
||||
customRequestHeaders:
|
||||
Host: "" # This will catch requests with no Host header or invalid ones
|
||||
crowdsec:
|
||||
plugin:
|
||||
bouncer:
|
||||
@@ -25,15 +21,6 @@ http:
|
||||
- application/json
|
||||
- text/plain
|
||||
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:
|
||||
rule: Host(`qbit.gbanyan.net`)
|
||||
service: qbit
|
||||
|
||||
Reference in New Issue
Block a user