fix typos in Access usage

This commit is contained in:
Benjamin Fry 2024-01-27 11:45:11 -08:00
parent 10d607b8a6
commit 456a306f3a
2 changed files with 2 additions and 3 deletions

View File

@ -284,7 +284,6 @@ impl<T: RequestHandler> ServerFuture<T> {
let ((cert, chain), key) = certificate_and_key;
let handler = self.handler.clone();
let acces = self.access.clone();
debug!("registered tcp: {:?}", listener);
let tls_acceptor = Box::pin(tls_server::new_acceptor(cert, chain, key)?);

View File

@ -42,14 +42,14 @@
## Denied networks, a list of CIDRs in IPv4 or IPv6 formats,
## any request that does not originate from the specified networks will be allowed
# deny_networks = ["127/8", "::1/128"]
# deny_networks = ["127.0.0.0/8", "::1/128"]
## Allowed networks, a list of CIDRs in IPv4 or IPv6 formats,
## any request that does not originate from the specified networks will be denied, unless
## there are deny_networks specified, in that case, the allow list will be processed as
## an override to the deny_networks. That is, if there is a deny_list and the network does
## not appear there, even if does not appear in the allow list the request will be allowd.
# allow_networks = ["127/8", "::1/128"]
# allow_networks = ["127.0.0.0/8", "::1/128"]
## Default zones, these should be present on all nameservers, except in rare
## configuration cases