localhost:443 {
    header {
        Alt-Svc `h3=":443"; ma=86400, h3-29=":443"; ma=86400`
    }

    handle /graphql* {
        reverse_proxy  {
            to http://backend-1:80
            to http://backend-2:80

            lb_policy round_robin
            lb_try_duration 1s
            lb_try_interval 100ms
            lb_retries 3

            fail_duration 30s
            unhealthy_status 5xx
            unhealthy_latency 1s

            # active health check 
            health_path /_health/live
            health_interval 1s
            health_timeout 1s
            health_status 200
        }
    }

    handle {
        reverse_proxy  {
            to http://frontend-1:80
        }
    }
}