Reimplement redirect domains

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
2022-06-18 16:19:04 +02:00
parent b449a279cd
commit 59fa4a73f2
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{
auto_https off
}
{% for rule in redirect.hosts %}
http://{{ rule.from }} {
redir https://{{ rule.to }}{uri} permanent
}
{% endfor %}