Redirects shouldnt be permanent
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b781f11a82
commit
880c54d92c
@ -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 %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user