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 %}
|
2023-11-26 22:35:43 +01:00
|
|
|
redir https://{{ rule.to }}{uri}
|
2022-11-11 15:38:57 +01:00
|
|
|
{% else %}
|
2023-11-26 22:35:43 +01:00
|
|
|
redir https://{{ rule.to }}
|
2022-11-11 15:38:57 +01:00
|
|
|
{% endif %}
|
2022-06-18 16:19:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
{% endfor %}
|