{{ STORE_HOST }}{% if not ENABLE_HTTPS %}:80{% endif %} {
    reverse_proxy nginx:80 {
        header_up X-Forwarded-Port {{ 443 if ENABLE_HTTPS else 80 }}
    }
}

{{ patch("caddyfile") }}