diff --git a/doc/file.README.html b/doc/file.README.html index d7c344d..923012c 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -124,7 +124,7 @@
Optional
manage remoteIP logging if running behind a Loadbalancer like HAproxy: if ae_use_lb is set to true, a configuration file etc/httpd/conf.d/loadbalancer-remoteip.confis created and configures apache/httpd to use the remote header. This allows proper fail2ban protection even behind the Loadbalancer. Make sure to set ae_trusted_proxyto the proper IP or range for the loadbalancer!
manage remoteIP logging if running behind a Loadbalancer like HAproxy: if ae_use_lb is set to true, a configuration file etc/httpd/conf.d/loadbalancer-remoteip.confis created and configures apache/httpd to use the remote header. This allows proper fail2ban protection even behind the Loadbalancer. Make sure to set ae_trusted_proxy and ae_internal_proxy to the proper IP or range for the loadbalancer!
Maintenance
diff --git a/doc/index.html b/doc/index.html index 1836621..9359b2a 100644 --- a/doc/index.html +++ b/doc/index.html @@ -124,7 +124,7 @@Optional
manage remoteIP logging if running behind a Loadbalancer like HAproxy: if ae_use_lb is set to true, a configuration file etc/httpd/conf.d/loadbalancer-remoteip.confis created and configures apache/httpd to use the remote header. This allows proper fail2ban protection even behind the Loadbalancer. Make sure to set ae_trusted_proxyto the proper IP or range for the loadbalancer!
manage remoteIP logging if running behind a Loadbalancer like HAproxy: if ae_use_lb is set to true, a configuration file etc/httpd/conf.d/loadbalancer-remoteip.confis created and configures apache/httpd to use the remote header. This allows proper fail2ban protection even behind the Loadbalancer. Make sure to set ae_trusted_proxy and ae_internal_proxy to the proper IP or range for the loadbalancer!
Maintenance
diff --git a/doc/puppet_classes/confdroid_apache_3A_3Aparams.html b/doc/puppet_classes/confdroid_apache_3A_3Aparams.html index dc9ff8a..edeb630 100644 --- a/doc/puppet_classes/confdroid_apache_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_apache_3A_3Aparams.html @@ -350,15 +350,33 @@ inherited by all classes except defines. ae_trusted_proxy - (String) + (Array) - (defaults to: '10.0.1.0/24') + (defaults to: ['127.0.0.1','10.0.1.0/24']) —the IP address of the trusted proxy, i.e. the load balancer. This is required when ae_use_lb is set to true, and defaults to ‘10.0.1.0/24’.
the IP addresses of the trusted proxies, i.e. the load balancers. This is required when ae_use_lb is set to true, and defaults to [‘127.0.0.1’,‘10.0.1.0/24’].
the IP addresses of the internal proxies, i.e. the internal load balancers. This is required when ae_use_lb is set to true, and defaults to [‘127.0.0.1’].
-37 -38 -39 40 41 42 @@ -443,10 +458,14 @@ inherited by all classes except defines. 103 104 105 -106+106 +107 +108 +109 +110
# File 'manifests/params.pp', line 37
+ # File 'manifests/params.pp', line 40
class confdroid_apache::params (
@@ -472,7 +491,8 @@ class confdroid_apache::params (
# loadbalancer
Boolean $ae_use_lb = false,
- String $ae_trusted_proxy = '10.0.1.0/24',
+ Array $ae_trusted_proxy = ['127.0.0.1','10.0.1.0/24'],
+ Array $ae_internal_proxy = ['127.0.0.1','10.0.1.0/24'],
) {
# facts