We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09fc93e commit 8b7611bCopy full SHA for 8b7611b
src/middleware/block_traffic.rs
@@ -1,4 +1,5 @@
1
//! Middleware that blocks requests if a header matches the given list
2
+//!
3
//! To use, set the `BLOCKED_TRAFFIC` environment variable to a comma-separated list of pairs
4
//! containing a header name, an equals sign, and the name of another environment variable that
5
//! contains the values of that header that should be blocked. For example, set `BLOCKED_TRAFFIC`
0 commit comments