From 880c54d92c2d223cf467f62a3e04011927cfb2c9 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sun, 26 Nov 2023 22:35:43 +0100 Subject: [PATCH] Redirects shouldnt be permanent --- ansible/plays/services/caddy/Caddyfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/plays/services/caddy/Caddyfile b/ansible/plays/services/caddy/Caddyfile index 71db3a4..9f1b5bf 100644 --- a/ansible/plays/services/caddy/Caddyfile +++ b/ansible/plays/services/caddy/Caddyfile @@ -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 %} }