NAME
PAGI::App::Proxy - HTTP reverse proxy
SYNOPSIS
use PAGI::App::Proxy;
my $app = PAGI::App::Proxy->new(
backend => 'http://localhost:8080',
)->to_app;
DESCRIPTION
Simple HTTP reverse proxy. For production use, consider a more robust implementation with connection pooling and async I/O.
OPTIONS
backend- Backend URL (default: 'http://localhost:8080')timeout- Connection timeout in seconds (default: 30)headers- Hashref of additional headers to add to requests