diff --git a/caddy/development/Caddyfile b/caddy/development/Caddyfile index d70d716..562f78c 100644 --- a/caddy/development/Caddyfile +++ b/caddy/development/Caddyfile @@ -3,8 +3,8 @@ } localhost { - handle /static/* { - root * /var/www/static/ + handle_path /static* { + root * /var/www/static file_server } @@ -13,7 +13,9 @@ localhost { header_down Pragma "no-cache" header_down Expires "0" } + encode gzip + log { format console level DEBUG diff --git a/caddy/production/Caddyfile b/caddy/production/Caddyfile index 71880c7..bea2d7d 100644 --- a/caddy/production/Caddyfile +++ b/caddy/production/Caddyfile @@ -3,7 +3,7 @@ } invenio.i-form.ie { - handle /static/* { + handle_path /static/* { root * /var/www/ file_server }