fix typos in Access usage
This commit is contained in:
parent
10d607b8a6
commit
456a306f3a
@ -284,7 +284,6 @@ impl<T: RequestHandler> ServerFuture<T> {
|
|||||||
let ((cert, chain), key) = certificate_and_key;
|
let ((cert, chain), key) = certificate_and_key;
|
||||||
|
|
||||||
let handler = self.handler.clone();
|
let handler = self.handler.clone();
|
||||||
let acces = self.access.clone();
|
|
||||||
debug!("registered tcp: {:?}", listener);
|
debug!("registered tcp: {:?}", listener);
|
||||||
|
|
||||||
let tls_acceptor = Box::pin(tls_server::new_acceptor(cert, chain, key)?);
|
let tls_acceptor = Box::pin(tls_server::new_acceptor(cert, chain, key)?);
|
||||||
|
@ -42,14 +42,14 @@
|
|||||||
|
|
||||||
## Denied networks, a list of CIDRs in IPv4 or IPv6 formats,
|
## Denied networks, a list of CIDRs in IPv4 or IPv6 formats,
|
||||||
## any request that does not originate from the specified networks will be allowed
|
## 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,
|
## 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
|
## 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
|
## 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
|
## 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.
|
## 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
|
## Default zones, these should be present on all nameservers, except in rare
|
||||||
## configuration cases
|
## configuration cases
|
||||||
|
Loading…
Reference in New Issue
Block a user