File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff 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.
1919testData :
20- allowLocalRequests : true
2120 exact_match :
2221 - " something"
2322 regex :
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2025-today Shantanu Gadgil
3+ Copyright (c) 2025-today Blueshift
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff 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
2929dynamic-configuration.yml
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
7775my-block-regex-urls:
7876 plugin:
7977 block-regex-urls:
80- allowLocalRequests: true
8178 exact_match:
8279 - "some_string_to_block"
8380 regex:
You can’t perform that action at this time.
0 commit comments