From b785b0659856a9051f2c05416a2a3316b8b5a771 Mon Sep 17 00:00:00 2001 From: Jacob Richard Date: Sat, 22 Dec 2018 18:17:32 -0600 Subject: [PATCH 1/2] Updating docs for auth_proxy whitelist CIDR support --- docs/sources/auth/auth-proxy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sources/auth/auth-proxy.md b/docs/sources/auth/auth-proxy.md index e066eed9190..de99d512707 100644 --- a/docs/sources/auth/auth-proxy.md +++ b/docs/sources/auth/auth-proxy.md @@ -31,6 +31,7 @@ auto_sign_up = true ldap_sync_ttl = 60 # Limit where auth proxy requests come from by configuring a list of IP addresses. # This can be used to prevent users spoofing the X-WEBAUTH-USER header. +# Example `whitelist = 192.168.1.1, 192.168.1.0/24, 2001::23, 2001::0/120` whitelist = # Optionally define more headers to sync other user attributes # Example `headers = Name:X-WEBAUTH-NAME Email:X-WEBAUTH-EMAIL`` From 47c0b5770b3945851d685a2c6d0fcb2a0f9e9b36 Mon Sep 17 00:00:00 2001 From: Jacob Richard Date: Sat, 22 Dec 2018 18:18:15 -0600 Subject: [PATCH 2/2] Removing erroneous backtick in docs --- docs/sources/auth/auth-proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/auth/auth-proxy.md b/docs/sources/auth/auth-proxy.md index de99d512707..2274771b91a 100644 --- a/docs/sources/auth/auth-proxy.md +++ b/docs/sources/auth/auth-proxy.md @@ -34,7 +34,7 @@ ldap_sync_ttl = 60 # Example `whitelist = 192.168.1.1, 192.168.1.0/24, 2001::23, 2001::0/120` whitelist = # Optionally define more headers to sync other user attributes -# Example `headers = Name:X-WEBAUTH-NAME Email:X-WEBAUTH-EMAIL`` +# Example `headers = Name:X-WEBAUTH-NAME Email:X-WEBAUTH-EMAIL` headers = ```