chore: Добавлен Dockerfile и Caddyfile
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
: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
|
||||
}
|
||||
Reference in New Issue
Block a user