From cf44418e1055376adb1e5d284f2a174b7751f39b Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Thu, 3 Jan 2019 20:07:01 -0600 Subject: Allow multiple IP addresses in extforward_ip separated by spaces --- data/modules.example.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/modules.example.conf b/data/modules.example.conf index 6dd7d5d85..a20ece0b8 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -223,8 +223,9 @@ module { name = "help" } * extforward_headers set below, set this to its IP. * This allows services to obtain the real IP of users by * reading the forwarded-for HTTP header. + * Multiple IP addresses can be specified separated by a space character. */ - #extforward_ip = "192.168.0.255" + #extforward_ip = "192.168.0.255 192.168.1.255" /* The header to look for. These probably work as is. */ extforward_header = "X-Forwarded-For Forwarded-For" -- cgit