diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 81a13a0..46a604d 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -27,7 +27,7 @@ server.arcbjorn.com { } dashboard.arcbjorn.com { - root * /containers/dashboard + root * /static/dashboard.arcbjorn.com file_server { hide .git } diff --git a/caddy/docker-compose.yaml b/caddy/docker-compose.yaml index 0c01c52..ae4dacc 100644 --- a/caddy/docker-compose.yaml +++ b/caddy/docker-compose.yaml @@ -24,6 +24,9 @@ services: - /root/containers/caddy/Caddyfile:/etc/caddy/Caddyfile - /root/containers/caddy/data:/data/caddy - /root/containers/caddy/config:/config/caddy + + # static websites + - /root/static/dashboard.arcbjorn.com:/static/dashboard.arcbjorn.com ports: - 80:80 - 443:443