diff --git a/roles/frigate-caddy/templates/Caddyfile.j2 b/roles/frigate-caddy/templates/Caddyfile.j2 index efc9b1b..32a2ad1 100644 --- a/roles/frigate-caddy/templates/Caddyfile.j2 +++ b/roles/frigate-caddy/templates/Caddyfile.j2 @@ -8,7 +8,7 @@ @unauthorized status 401 handle_response @unauthorized { - respond "" 301 + respond "" 303 header Location {{ frigate_caddy_forward_auth.url}}{{ frigate_caddy_forward_auth.location }} } }