From 5321a8a5586af9e71ac9a7a150c32e2617b78c54 Mon Sep 17 00:00:00 2001 From: Arksine Date: Thu, 29 Apr 2021 19:40:06 -0400 Subject: [PATCH] docs: update authorization documentation The "trusted_clients" option now supports fqdns (full qualified domain names). Signed-off-by: Eric Callahan --- docs/configuration.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index f91fa18..8544818 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -68,13 +68,14 @@ login_timeout: trusted_clients: 192.168.1.30 192.168.1.0/24 -# A list of newline separated ip addresses and/or ip ranges that are -# trusted. Trusted clients are given full access to the API. Both IPv4 -# and IPv6 addresses and ranges are supported. Ranges must be expressed -# in CIDR notation (see http://ip.sb/cidr for more info). For example, an -# entry of 192.168.1.0/24 will authorize IPs in the range of 192.168.1.1 - -# 192.168.1.254. Note that when specifying IPv4 ranges the last segment -# of the ip address must be 0. The default is no clients or ranges are + my-printer.lan +# A list of newline separated ip addresses, ip ranges, or fully qualified +# domain names that are trusted. Trusted clients are given full access to +# the API. Both IPv4 and IPv6 addresses and ranges are supported. Ranges +# must be expressed in CIDR notation (see http://ip.sb/cidr for more info). +# For example, an entry of 192.168.1.0/24 will authorize IPs in the range of +# 192.168.1.1 - 192.168.1.254. Note that when specifying IPv4 ranges the +# last segment of the ip address must be 0. The default is no clients are # trusted. cors_domains: http://klipper-printer.local