From: Damian Myrda Date: Sat, 21 Sep 2024 02:45:56 +0000 (-0500) Subject: Handle www X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=886af1b77ee61c30688bb7c17964c6dc3916e806;p=p8d.git Handle www --- 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