Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
457B

  1. #
  2. # This file is managed by Salt! Do not edit by hand!
  3. #
  4. RemoteIPHeader {{ salt['pillar.get']('apache:mod_remoteip:RemoteIPHeader', 'X-Forwarded-For') }}
  5. {%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %}
  6. RemoteIPTrustedProxy {{ trusted_proxy }}
  7. {%- endfor %}
  8. {%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPInternalProxy', []) %}
  9. RemoteIPInternalProxy {{ trusted_proxy }}
  10. {%- endfor %}