prod setup
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-06-29 19:58:37 +02:00
parent bfe9ffc5ad
commit 602d671996
4 changed files with 103 additions and 13 deletions

View File

@@ -1,5 +1,15 @@
eshop.example.com {
encode gzip
http://{$APP_DOMAIN:eshop.kompress.farmeris.sk} {
redir https://{$APP_DOMAIN:eshop.kompress.farmeris.sk}{uri} permanent
}
https://{$APP_DOMAIN: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"
@@ -8,7 +18,3 @@ eshop.example.com {
reverse_proxy kompress:5150
}
eshop.example.com {
redir https://eshop.example.com{uri} permanent
}