Files
arkanoid/Caddyfile
T
Ilia Mashkov 8153233529
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s
chore: Добавлен Dockerfile и Caddyfile
2026-07-20 10:48:25 +03:00

23 lines
406 B
Caddyfile

:3000 {
root * /usr/share/caddy
encode {
zstd
gzip
match {
header Content-Type text/*
header Content-Type application/javascript*
header Content-Type application/json*
header Content-Type image/svg+xml*
}
}
@assets path /assets/*
header @assets Cache-Control "public, max-age=31536000, immutable"
@html path / /index.html
header @html Cache-Control "no-cache"
file_server
}