Skip to content

Commit bbb93b1

Browse files
committed
initial commit 2
1 parent c02619c commit bbb93b1

File tree

1 file changed

+11
-37
lines changed

1 file changed

+11
-37
lines changed

README.md

Lines changed: 11 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,22 @@ Sample configuration in Traefik.
88

99
### Configuration as local plugin
1010

11-
traefik.yml
11+
static.yml (development)
1212

1313
```yaml
14-
1514
experimental:
1615
localPlugins:
1716
block-regex-urls:
18-
moduleName: github.com/blueshift-labs/traefik-block-regex-urls
17+
moduleName: 'github.com/blueshift-labs/traefik-block-regex-urls'
18+
```
19+
20+
static.yml (production)
21+
22+
```yaml
23+
plugins:
24+
block-regex-urls:
25+
moduleName: 'github.com/blueshift-labs/traefik-block-regex-urls'
26+
version: 'v0.0.4'
1927
```
2028
2129
dynamic-configuration.yml
@@ -77,37 +85,3 @@ my-block-regex-urls:
7785
- "^something.mydomain.tld\\/scan\\?uid=345$"
7886
statusCode: 418
7987
```
80-
81-
## Contributors
82-
83-
| [<img alt="ShantanuGadgil" src="https://avatars.githubusercontent.com/u/2508915?v=4" width="117"/>](https://github.com/blueshift-labs) |
84-
| :---------------------------------------------------------------------------------------------------------------------------------------: |
85-
| [Shantanu Gadgil](https://github.com/blueshift-labs) |
86-
87-
## License
88-
89-
traefik-block-regex-urls is distributed under the MIT license. [See LICENSE](LICENSE) for details.
90-
91-
```
92-
MIT License
93-
94-
Copyright (c) 2025-today Shantanu Gadgil
95-
96-
Permission is hereby granted, free of charge, to any person obtaining a copy
97-
of this software and associated documentation files (the "Software"), to deal
98-
in the Software without restriction, including without limitation the rights
99-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
100-
copies of the Software, and to permit persons to whom the Software is
101-
furnished to do so, subject to the following conditions:
102-
103-
The above copyright notice and this permission notice shall be included in all
104-
copies or substantial portions of the Software.
105-
106-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
107-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
108-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
109-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
110-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
111-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
112-
SOFTWARE.
113-
```

0 commit comments

Comments
 (0)