Compare commits

..

1 Commits

Author SHA1 Message Date
Jenkins Server
78809dfab9 Recommit for updates in build 43 2026-03-14 15:15:31 +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 <%= @ae_remoteip_header %> RemoteIPHeader <%= @remoteip_header %>
<% @ae_trusted_proxy.each do |proxy| -%> <% @trusted_proxies.each do |proxy| -%>
RemoteIPTrustedProxy <%= proxy %> RemoteIPTrustedProxy <%= proxy %>
<% end -%> <% end -%>
<% @ae_internal_proxy.each do |proxy| -%> <% @internal_proxies.each do |proxy| -%>
RemoteIPInternalProxy <%= proxy %> RemoteIPInternalProxy <%= proxy %>
<% end -%> <% end -%>