Sha256: ec307d69c3fc8785136409a576b59eb38621496cf6d00253eb5227000a5cc233

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

# ronin-web-proxy 1 "2022-01-01" Ronin "User Manuals"

## SYNOPSIS

`ronin-web proxy` [*options*] [`--host` *HOST*] [`--port` *PORT*]

## DESCRIPTION

Starts a HTTP proxy server.

## OPTIONS

`-H`, `--host` *HOST*
  The host that the proxy server will listen on. Defaults to `localhost`.

`-p`, `--port` *PORT*
  The port that the proxy server will listen on. Default to `8080`.

`-b`, `--show-body`
  Controls whether to display the request/response bodies or not.

`--rewrite-requests` {*STRING*:*REPLACE*|/*REGEXP*/:*REPLACE*}
  Rewrites all request bodies by replacing the *STRING* or *REGEXP* with the
  given *REPLACE* string.

`--rewrite-responses` {*STRING*:*REPLACE*|/*REGEXP*/:*REPLACE*}
  Rewrites all response bodies by replacing the *STRING* or *REGEXP* with the
  given *REPLACE* string.

`-h`, `--help`
  prints help information.

## EXAMPLES

`sudo ronin-web proxy --host 0.0.0.0 --port 80`
  Listen on the external interface on port 80.

`ronin-web proxy --rewrite-responses https:http`
  Replace every occurrence of `https` with `http` in the response bodies.

## AUTHOR

Postmodern <postmodern.mod3@gmail.com>

## SEE ALSO

ronin-web-server(1)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ronin-web-1.0.2 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.1 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.0 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.0.beta4 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.0.beta3 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.0.beta2 man/ronin-web-reverse-proxy.1.md
ronin-web-1.0.0.beta1 man/ronin-web-reverse-proxy.1.md