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:
2026-05-20 11:01:23 +00:00
parent f92cb1f134
commit 8f89423994
4 changed files with 20 additions and 25 deletions

View File

@@ -1,17 +1,12 @@
# Reverse-proxy config for temp.sk.
#
# This file is intended to be imported by the central Caddyfile on the server.
# Caddy provisions and renews the HTTPS certificate automatically.
gitara.farmeris.sk {
encode gzip
encode gzip
@static path /static/*
header @static Cache-Control "public, max-age=2592000"
@static path /static/*
header @static Cache-Control "public, max-age=2592000"
reverse_proxy universal-web:5150
reverse_proxy gitara-web:5150
}
www.gitara.farmeris.sk {
redir https://temp.sk{uri} permanent
redir https://gitara.farmeris.sk{uri} permanent
}