mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-16 17:50:23 +00:00

* feat(trusted_proxy): Add support for RemoteIPInternalProxy * fix(syntax): add semicolon
11 lines
457 B
Django/Jinja
11 lines
457 B
Django/Jinja
#
|
|
# This file is managed by Salt! Do not edit by hand!
|
|
#
|
|
|
|
RemoteIPHeader {{ salt['pillar.get']('apache:mod_remoteip:RemoteIPHeader', 'X-Forwarded-For') }}
|
|
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %}
|
|
RemoteIPTrustedProxy {{ trusted_proxy }}
|
|
{%- endfor %}
|
|
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPInternalProxy', []) %}
|
|
RemoteIPInternalProxy {{ trusted_proxy }}
|
|
{%- endfor %}
|