apache-formula/apache/files/RedHat/conf.modules.d/remoteip.conf.jinja

7 lines
271 B
Plaintext
Raw Normal View History

# managed by saltstack
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 %}