summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorlinuxdaemon <linuxdaemon@users.noreply.github.com>2019-01-03 20:07:01 -0600
committerAdam <adam@sigterm.info>2019-01-03 21:07:01 -0500
commitcf44418e1055376adb1e5d284f2a174b7751f39b (patch)
tree585c3dd7977453b6fa922e19f821efa05cfba655 /data
parent6fbb7cffe9954d1e5cc9038a18d4695ad2a19d2d (diff)
Allow multiple IP addresses in extforward_ip separated by spaces
Diffstat (limited to 'data')
-rw-r--r--data/modules.example.conf3
1 files changed, 2 insertions, 1 deletions
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"