App-PureProxy

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    Note: default port 5000 may conflict with AirPlay server on MacOS 12
    (Monterey) or later.

 --pid

    Specify the pid file path. Use it with -D|--daemonize option. (default:
    none)

 -q, --quiet

    Suppress the message about starting a server.

 -r, --reload

    Makes plackup restart the server whenever a file in your development
    directory changes. See plackup. (default: none)

 -R, --Reload

    Makes plackup restart the server whenever a file in any of the given
    directories changes. See plackup. (default: none)

 --socket

    Enables UNIX socket support. The IO::Socket::UNIX module is required.
    The socket file has to be not yet created. The first character @ or \0
    in the socket file name means that an abstract socket address will be
    created. (default: none)

 --spawn-interval

    If set, worker processes will not be spawned more than once every given
    second. Also, when SIGHUP is being received, no more than one worker
    process will be collected every given second. This feature is useful
    for doing a "slow restart". (default: none)

 --ssl

    Enables SSL support. The IO::Socket::SSL module is required. (default:
    0)

 --ssl-ca-file

    Specifies the path to the SSL CA certificate file which will be a part
    of server's certificate chain. (default: none)

 --ssl-cert-file

    Specifies the path to the SSL certificate file. (default: none)

 --ssl-client-ca-file

    Specifies the path to the SSL CA certificate file for client
    verification. (default: none)

 --ssl-key-file

    Specifies the path to the SSL key file. (default: none)

 --ssl-verify-mode

    Specifies the verification mode for the client certificate. See
    "SSL_verify_mode" in IO::Socket::SSL for details. (default: 0)

 --timeout

    Seconds until timeout. (default: 300)

 --traffic-log

    Enables Plack::Middleware::TrafficLog middleware that logs detailed
    information about headers and the body.

    If the filename is providen then middleware writes to this file.
    Standard output is used otherwise.

 --traffic-log-body-eol

    Sets the line separator for message's body for log generated by
    Plack::Middleware::TrafficLog middleware.

 --umask

    Changes file mode creation mask. The "umask" in perlfunc is an octal
    number representing disabled permissions bits for newly created files.
    It is usually 022 when a group shouldn't have permission to write or
    002 when a group should have permission to write. (default: none)

 --user

    Changes the user id or user name that the server process should switch
    to after binding to the port. The pid file, error log or unix socket
    also are created before changing privileges. This option is usually
    used if the main process is started with root privileges because
    binding to the low-numbered (<1024) port. (default: none)

ENVIRONMENT

 PUREPROXY_SERVER

    Changes the default PSGI server. This is Thrall if Perl supports
    threads and Starlight otherwise.

SEE ALSO

    http://github.com/dex4er/PureProxy.

BUGS

    This tool has unstable features and can change in future.

AUTHOR

    Piotr Roszatycki <dexter@cpan.org>

LICENSE

    Copyright (c) 2014-2015, 2023-2024 Piotr Roszatycki <dexter@cpan.org>.

    This is free software; you can redistribute it and/or modify it under
    the same terms as perl itself.

    See http://dev.perl.org/licenses/artistic.html



( run in 3.171 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )