diff --git a/docker/caddy/Caddyfile b/docker/caddy/Caddyfile index 1219fab..3642eba 100644 --- a/docker/caddy/Caddyfile +++ b/docker/caddy/Caddyfile @@ -1,8 +1,17 @@ http://localhost { - handle_path /proxy/db { + handle_path /static/* { + root * /srv/static + file_server { + hide .git + precompressed zstd br gzip + } } - - handle_path /proxy/blog { + handle_path /media/* { + root * /srv/media + file_server { + hide .git + precompressed zstd br gzip + } } reverse_proxy http://main