From e6ffb0ef6d2da5d9fe66ad7f118334fd897fbbb5 Mon Sep 17 00:00:00 2001 From: elpatron Date: Thu, 2 Oct 2025 00:20:48 +0200 Subject: [PATCH] Fix: Replace invalid 'file' directive with 'try_files' in Caddyfile - Changed 'file favicon.png' to 'try_files {path}' which is the correct Caddy syntax - Updated root path to /app/public for consistency - This fixes the 'unrecognized directive: file' error in Caddy --- Caddyfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 2976e38..5e20780 100644 --- a/Caddyfile +++ b/Caddyfile @@ -44,6 +44,6 @@ favicon.ico { } favicon.png { - root * /app/dist - file favicon.png + root * /app/public + try_files {path} }