Compare commits

..

4 Commits

Author SHA1 Message Date
Jenkins Server
ade3492977 Recommit for updates in build 44 2026-03-14 15:28:16 +01:00
Jenkins Server
d2b85409d9 Merge remote-tracking branch 'origin/master' into jenkins-build-44 2026-03-14 15:27:20 +01:00
5fbc2e3e88 add ranges to template and update Readme 2026-03-14 15:27:00 +01:00
Jenkins Server
7a576c4c7b Recommit for updates in build 43 2026-03-14 15:15:28 +01:00
3 changed files with 5 additions and 5 deletions

View File

@@ -512,7 +512,7 @@ class confdroid_apache::params (
Boolean $ae_use_lb = false, Boolean $ae_use_lb = false,
Array $ae_trusted_proxy = ['127.0.0.1','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'], Array $ae_internal_proxy = ['127.0.0.1','10.0.1.0/24'],
String $ae_remoteip_header = 'X-Forwarded-For', String $ae_remoteip_header = 'X-Forwarded-For',
) { ) {
# facts # facts

View File

@@ -66,7 +66,7 @@ class confdroid_apache::params (
Boolean $ae_use_lb = false, Boolean $ae_use_lb = false,
Array $ae_trusted_proxy = ['127.0.0.1','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'], Array $ae_internal_proxy = ['127.0.0.1','10.0.1.0/24'],
String $ae_remoteip_header = 'X-Forwarded-For', String $ae_remoteip_header = 'X-Forwarded-For',
) { ) {
# facts # facts

View File

@@ -4,11 +4,11 @@
############################################################################### ###############################################################################
<IfModule remoteip_module> <IfModule remoteip_module>
RemoteIPHeader <%= @remoteip_header %> RemoteIPHeader <%= @ae_remoteip_header %>
<% @trusted_proxies.each do |proxy| -%> <% @ae_trusted_proxy.each do |proxy| -%>
RemoteIPTrustedProxy <%= proxy %> RemoteIPTrustedProxy <%= proxy %>
<% end -%> <% end -%>
<% @internal_proxies.each do |proxy| -%> <% @ae_internal_proxy.each do |proxy| -%>
RemoteIPInternalProxy <%= proxy %> RemoteIPInternalProxy <%= proxy %>
<% end -%> <% end -%>