# 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

    @static path /static/*
    header @static Cache-Control "public, max-age=2592000"

    reverse_proxy universal-web:5150
}

www.gitara.farmeris.sk {
    redir https://temp.sk{uri} permanent
}
