TOWER ALLOWED HOSTS
Project status & info:
| License | Crates Version | Docs |
|---|---|---|
Tower service which limits request from only hosts
Add as dependencies
Edit Cargo.toml file to add tower_allowed_hosts as dependencies
[]
= "0.3.0"
Usage
To use non regex based hosts you can use
let tower_layer = new;
If you need to use regex based host matching you need to enable regex feature for crate than you can use
let tower_layer = new_regex;