diff --git a/Caddyfile b/Caddyfile index 339ee9e..816d444 100644 --- a/Caddyfile +++ b/Caddyfile @@ -8,5 +8,5 @@ encode zstd gzip file_server root * /dist - # try_files {path} /index.html + try_files {path} /index.html } diff --git a/caddy.Dockerfile b/caddy.Dockerfile index 665f4e7..e42ba97 100644 --- a/caddy.Dockerfile +++ b/caddy.Dockerfile @@ -1,4 +1,4 @@ -FROM caddy +FROM caddy:2.4.0 WORKDIR / COPY ./dist /dist COPY Caddyfile /Caddyfile