2022-06-18 16:19:04 +02:00
|
|
|
{
|
|
|
|
auto_https off
|
|
|
|
}
|
|
|
|
|
|
|
|
{% for rule in redirect.hosts %}
|
|
|
|
http://{{ rule.from }} {
|
2022-11-11 15:38:57 +01:00
|
|
|
{% if rule.keepUri %}
|
2022-06-18 16:19:04 +02:00
|
|
|
redir https://{{ rule.to }}{uri} permanent
|
2022-11-11 15:38:57 +01:00
|
|
|
{% else %}
|
|
|
|
redir https://{{ rule.to }} permanent
|
|
|
|
{% endif %}
|
2022-06-18 16:19:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
{% endfor %}
|