Redirects shouldnt be permanent
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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