Skip to content

Commit 6592d51

Browse files
committed
initial commit 3
1 parent bbb93b1 commit 6592d51

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.traefik.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ summary: 'Block access to certain paths using a list of regex values and return
1717
# This is mandatory,
1818
# and Traefik Pilot will try to execute the plugin with the data you provide as part of its startup validity tests.
1919
testData:
20-
allowLocalRequests: true
2120
exact_match:
2221
- "something"
2322
regex:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025-today Shantanu Gadgil
3+
Copyright (c) 2025-today Blueshift
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static.yml (production)
2323
plugins:
2424
block-regex-urls:
2525
moduleName: 'github.com/blueshift-labs/traefik-block-regex-urls'
26-
version: 'v0.0.4'
26+
version: 'v0.0.1'
2727
```
2828
2929
dynamic-configuration.yml
@@ -34,7 +34,6 @@ http:
3434
block-scan-paths:
3535
plugin:
3636
block-regex-urls:
37-
allowLocalRequests: true
3837
exact_match:
3938
- "some_exact_string_with_regex_chars_?/._to_block"
4039
regex:
@@ -68,16 +67,14 @@ services:
6867
6968
## Sample configuration
7069
71-
- `allowLocalRequests`: If set to true, will not block request from [Private IP Ranges](https://en.wikipedia.org/wiki/Private_network)
7270
- `regex`: List of regex values to use for url blocking.
73-
- `strings`: List of string values to use for url blocking.
71+
- `exact_match`: List of exact matching strings to use for url blocking.
7472
- `statusCode`: Return value of the status code.
7573

7674
```yaml
7775
my-block-regex-urls:
7876
plugin:
7977
block-regex-urls:
80-
allowLocalRequests: true
8178
exact_match:
8279
- "some_string_to_block"
8380
regex:

0 commit comments

Comments
 (0)