From 886af1b77ee61c30688bb7c17964c6dc3916e806 Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Fri, 20 Sep 2024 21:45:56 -0500 Subject: [PATCH] Handle www --- caddy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/caddy b/caddy index 37549ba..7297c5a 100644 --- a/caddy +++ b/caddy @@ -3,6 +3,10 @@ } prime8.dev { + redir https://www.prime8.dev{uri} 301 +} + +www.prime8.dev { root * /web/ file_server try_files {path} {path}.html -- 2.43.4