apache-formula/apache/files/Debian/conf-available/remoteip.conf.jinja
2015-12-16 02:54:14 +03:00

5 lines
247 B
Django/Jinja

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 %}