The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perlbal::Plugin::Redirect - Plugin to do redirecting in Perlbal land

SYNOPSIS

    LOAD redirect
    
    CREATE SERVICE redirector
        SET role = web_server
        SET plugins = redirect
        REDIRECT HOST example.com www.example.net
    ENABLE redirector

LIMITATIONS

Right now this can only redirect at the hostname level. Also, it just assumes you want an http: URL.