.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-web-proxy 1 "2022-01-01" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin-web proxy\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB--host\fR \fIHOST\fP\[rB] \[lB]\fB--port\fR \fIPORT\fP\[rB] .LP .SH DESCRIPTION .LP .PP Starts a HTTP proxy server\. .LP .SH OPTIONS .LP .TP \fB-H\fR, \fB--host\fR \fIHOST\fP The host that the proxy server will listen on\. Defaults to \fBlocalhost\fR\. .LP .TP \fB-p\fR, \fB--port\fR \fIPORT\fP The port that the proxy server will listen on\. Default to \fB8080\fR\. .LP .TP \fB-b\fR, \fB--show-body\fR Controls whether to display the request\[sl]response bodies or not\. .LP .HP \fB--rewrite-requests\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC] Rewrites all request bodies by replacing the \fISTRING\fP or \fIREGEXP\fP with the given \fIREPLACE\fP string\. .LP .HP \fB--rewrite-responses\fR \[lC]\fISTRING\fP:\fIREPLACE\fP\[or]\[sl]\fIREGEXP\fP\[sl]:\fIREPLACE\fP\[rC] Rewrites all response bodies by replacing the \fISTRING\fP or \fIREGEXP\fP with the given \fIREPLACE\fP string\. .LP .TP \fB-h\fR, \fB--help\fR prints help information\. .LP .SH EXAMPLES .LP .TP \fBsudo ronin-web proxy --host 0.0.0.0 --port 80\fR Listen on the external interface on port 80\. .LP .TP \fBronin-web proxy --rewrite-responses https:http\fR Replace every occurrence of \fBhttps\fR with \fBhttp\fR in the response bodies\. .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP .SH SEE ALSO .LP .PP ronin\-web\-server(1)