Alan Kasindorf > Perlbal-1.80 > Perlbal::Plugin::XFFExtras

Download:
Perlbal-1.80.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  3
View/Report Bugs
Source  

NAME ^

Perlbal::Plugin::XFFExtras - Perlbal plugin that can optionally add an X-Forwarded-Port and/or X-Forwarded-Proto header to reverse proxied requests.

SYNOPSIS ^

    # in perlbal.conf

    LOAD XFFExtra

    CREATE POOL web
        POOL web ADD 10.0.0.1:80

    CREATE SERVICE proxy
        SET role                        = reverse_proxy
        SET listen                      = 0.0.0.0:80
        SET pool                        = web

        SET plugins             = XFFExtras

        SET send_backend_port   = yes
        SET send_backend_proto  = yes
    ENABLE proxy

DESCRIPTION ^

This plugin adds optional headers to be sent to backend servers in reverse proxy mode.

HEADERS ^

AUTHOR ^

Jonathan Steinert, <hachi@kuiki.net>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012 by Say Media Inc, <cpan@saymedia.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: