Skip to content
Snippets Groups Projects
Commit 0c1423f8 authored by Andreas Thienemann's avatar Andreas Thienemann Committed by Niels Abspoel
Browse files

Fix mod_remoteip for Red Hat family OS (#260)

The source template was missing for RH based systems, only the Debian
file was packaged.

Fix this.
parent 58d2a338
Branches
Tags
No related merge requests found
# 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 %}
......@@ -54,7 +54,7 @@ include:
file.managed:
- template: jinja
- source:
- salt://apache/files/{{ salt['grains.get']('os_family') }}/remoteip.conf.jinja
- salt://apache/files/{{ salt['grains.get']('os_family') }}/conf.modules.d/remoteip.conf.jinja
- require:
- pkg: apache
- watch_in:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment