Redirects shouldnt be permanent
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Manske 2023-11-26 22:35:43 +01:00
parent b781f11a82
commit 880c54d92c
Signed by: tobias
GPG Key ID: 9164B527694A0709
1 changed files with 2 additions and 2 deletions

View File

@ -5,9 +5,9 @@
{% for rule in redirect.hosts %}
http://{{ rule.from }} {
{% if rule.keepUri %}
redir https://{{ rule.to }}{uri} permanent
redir https://{{ rule.to }}{uri}
{% else %}
redir https://{{ rule.to }} permanent
redir https://{{ rule.to }}
{% endif %}
}