From 592afe491430d0aae2a4686d22d75eb157c55c07 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 31 Jul 2025 12:04:02 +0200 Subject: [PATCH] feat: move to serve --- ci/src/main.rs | 2 +- deployment/Caddyfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/src/main.rs b/ci/src/main.rs index 7336c55..0eafc88 100644 --- a/ci/src/main.rs +++ b/ci/src/main.rs @@ -114,7 +114,7 @@ async fn build(client: dagger_sdk::Query) -> eyre::Result<(i64, Container)> { let dep_image = client .container() .from(CADDY_IMAGE) - .with_directory("/usr/share/caddy", dist_dir) + .with_directory("/srv", dist_dir) .with_file("/etc/caddy/Caddyfile", caddy_file); Ok((tag, dep_image)) diff --git a/deployment/Caddyfile b/deployment/Caddyfile index d0c20d0..d0e0fad 100644 --- a/deployment/Caddyfile +++ b/deployment/Caddyfile @@ -3,7 +3,7 @@ } http://blog.kasperhermansen.com { - root * /usr/share/caddy + root * /srv file_server encode gzip }