SYNOPSIS
use Testcontainers::Module::Nginx qw( nginx_container );
my $nginx = nginx_container();
my $url = $nginx->base_url; # "http://localhost:32789"
$nginx->terminate;
DESCRIPTION
Pre-configured Nginx container module, equivalent to Go's Nginx example.
Create and start an Nginx container.
Options: image, port, startup_timeout, name.
Returns the base HTTP URL: http://host:port.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 59:
Unknown directive: =func
- Around line 87:
Unknown directive: =method