NAME

proxy_that - Proxy the given URL from the command line

VERSION

version 0.001

SYNOPSIS

## Rnu a proxy to https://example.org on http://localhost:3080
$ proxy_that https://example.org

## Proxy port 80 on your virtual machine to your local port 80
# sudo proxy_that --port 80 http://vm.local.example.org

## Show documentation about our options
$ proxy_that --help

## Show the entire man page
$ proxy_that --man

DESCRIPTION

This utility starts a Plack based proxy server that forwards requests to one URL. It can create a throw-away SSL certificate and run over https, which makes it easy to provide encrypted endpoints for local development if your frontend has to run on https.

OPTIONS

The following options are available:

--ssl

Generate a new temporary SSL certificate and run over https instead of http. Does not change the default port.

--port PORT

Start the HTTP server on a specific PORT. Default is 3080.

--help

Print information about the script usage and its options.

--man

Print the entire man page for the command.

AUTHOR

simbabque <simbabque@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by simbabque.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.