{
    default_sni rcjohnstone.com
    key_type rsa4096
    email c@rcjohnstone.com
}

:80, :443 {
    @backend {
        path /api /api/*
    }
    reverse_proxy @backend calendar-backend:3000
    try_files {path} /index.html
    root * /srv/www
    file_server
}
