Add RedirectMatch option
in pillar add RedirectMatch: true
This commit is contained in:
parent
9e1b617f11
commit
2142ab99f1
@ -34,7 +34,11 @@
|
||||
{% if site.get('ErrorLog') != False %}ErrorLog {{ vals.ErrorLog }}{% endif %}
|
||||
{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}
|
||||
|
||||
{% if site.get('RedirectMatch') %}
|
||||
RedirectMatch {{ vals.RedirectSource }} {{ vals.RedirectTarget }}
|
||||
{% else %}
|
||||
Redirect {{ vals.RedirectSource }} {{ vals.RedirectTarget }}
|
||||
{% endif %}
|
||||
|
||||
{% if site.get('Formula_Append') %}
|
||||
{{ site.Formula_Append|indent(4) }}
|
||||
|
Loading…
Reference in New Issue
Block a user