* feat(trusted_proxy): Add support for RemoteIPInternalProxy * fix(syntax): add semicolontags/v1.1.2
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %} | {%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %} | ||||
RemoteIPTrustedProxy {{ trusted_proxy }} | RemoteIPTrustedProxy {{ trusted_proxy }} | ||||
{%- endfor %} | {%- endfor %} | ||||
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPInternalProxy', []) %} | |||||
RemoteIPInternalProxy {{ trusted_proxy }} | |||||
{%- endfor %} |
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %} | {%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPTrustedProxy', []) %} | ||||
RemoteIPTrustedProxy {{ trusted_proxy }} | RemoteIPTrustedProxy {{ trusted_proxy }} | ||||
{%- endfor %} | {%- endfor %} | ||||
{%- for trusted_proxy in salt['pillar.get']('apache:mod_remoteip:RemoteIPInternalProxy', []) %} | |||||
RemoteIPInternalProxy {{ trusted_proxy }} | |||||
{%- endfor %} |
RemoteIPTrustedProxy: | RemoteIPTrustedProxy: | ||||
- 10.0.8.0/24 | - 10.0.8.0/24 | ||||
- 127.0.0.1 | - 127.0.0.1 | ||||
RemoteIPInternalProxy: | |||||
- 10.10.8.0/24 | |||||
- 127.0.0.1 | |||||
# ``apache.mod_security`` formula additional configuration: | # ``apache.mod_security`` formula additional configuration: | ||||
mod_security: | mod_security: |
RemoteIPTrustedProxy: | RemoteIPTrustedProxy: | ||||
- 10.0.8.0/24 | - 10.0.8.0/24 | ||||
- 127.0.0.1 | - 127.0.0.1 | ||||
RemoteIPInternalProxy: | |||||
- 10.10.8.0/24 | |||||
- 127.0.0.1 | |||||
# ``apache.mod_security`` formula additional configuration: | # ``apache.mod_security`` formula additional configuration: | ||||
mod_security: | mod_security: |