There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

HTTP::Balancer::Actor::Nginx - the Nginx actor

SYNOPSIS

my $actor = HTTP::Balancer::Actor::Nginx->new;

$actor->start(
    pidfile => "/tmp/http-balancer.pid",
    hosts   => [
        $host1->hash,
        $host2->hash,
    ],
);

$actor->stop(
    pidfile => "/tmp/http-balancer.pid",
);