Sha256: c8eb5c53a34b0def20f2047e142f8ee780ec49c4ce6dec13bf60268407da1eea
Contents?: true
Size: 1.26 KB
Versions: 3
Compression:
Stored size: 1.26 KB
Contents
# ronin-web-reverse-proxy 1 "2022-01-01" Ronin "User Manuals" ## NAME ronin-web-reverse-proxy - Starts a HTTP proxy server ## SYNOPSIS `ronin-web reverse-proxy` [*options*] [`--host` *HOST*] [`--port` *PORT*] ## DESCRIPTION Starts a HTTP reverse 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 Listen on the external interface on port 80: $ sudo ronin-web reverse-proxy --host 0.0.0.0 --port 80 Replace every occurrence of `https` with `http` in the response bodies: $ ronin-web reverse-proxy --rewrite-responses https:http ## AUTHOR Postmodern <postmodern.mod3@gmail.com> ## SEE ALSO [ronin-web-server](ronin-web-server.1.md)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-web-2.0.1 | man/ronin-web-reverse-proxy.1.md |
ronin-web-2.0.0 | man/ronin-web-reverse-proxy.1.md |
ronin-web-2.0.0.rc1 | man/ronin-web-reverse-proxy.1.md |