Files
kompress_eshop/Caddyfile
Priec 9d2368ee08
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled
podman -> docker
2026-06-30 00:49:25 +02:00

21 lines
644 B
Caddyfile

# Caddyfile_kompress_eshop — imported by the central Caddy
# (docker-compose.caddy.yml). Caddy reaches the app by container name because
# it shares the external `kompress_eshop-net` network, same as gitea/biomed.
# Caddy serves automatic HTTPS and redirects http->https by default.
eshop.kompress.farmeris.sk {
encode zstd gzip
header {
Strict-Transport-Security "max-age=31536000"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
}
@static path /static/*
header @static Cache-Control "public, max-age=2592000"
rewrite /favicon.ico /static/favicon/favicon.ico
reverse_proxy kompress:5150
}