Sha256: f896071d344ec53b20d43bbb7e822d7d0e5519e19ad1b380af7b716a80b0bf6a

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

.\" Generated by kramdown-man 1.0.1
.\" https://github.com/postmodern/kramdown-man#readme
.TH ronin-web-reverse-proxy 1 "2022-01-01" Ronin "User Manuals"
.SH NAME
.PP
ronin\-web\-reverse\-proxy \- Starts a HTTP proxy server
.SH SYNOPSIS
.PP
\fBronin\-web reverse\-proxy\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB\-\-host\fR \fIHOST\fP\[rB] \[lB]\fB\-\-port\fR \fIPORT\fP\[rB]
.SH DESCRIPTION
.PP
Starts a HTTP reverse proxy server\.
.SH OPTIONS
.TP
\fB\-H\fR, \fB\-\-host\fR \fIHOST\fP
The host that the proxy server will listen on\. Defaults to \fBlocalhost\fR\.
.TP
\fB\-p\fR, \fB\-\-port\fR \fIPORT\fP
The port that the proxy server will listen on\. Default to \fB8080\fR\.
.TP
\fB\-b\fR, \fB\-\-show\-body\fR
Controls whether to display the request\[sl]response bodies or not\.
.TP
\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\.
.TP
\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\.
.TP
\fB\-h\fR, \fB\-\-help\fR
prints help information\.
.SH EXAMPLES
.PP
Listen on the external interface on port 80:
.PP
.RS 4
.EX
\[Do] sudo ronin\-web reverse\-proxy \-\-host 0\.0\.0\.0 \-\-port 80
.EE
.RE
.PP
Replace every occurrence of \fBhttps\fR with \fBhttp\fR in the response bodies:
.PP
.RS 4
.EX
\[Do] ronin\-web reverse\-proxy \-\-rewrite\-responses https:http
.EE
.RE
.SH AUTHOR
.PP
Postmodern 
.MT postmodern\.mod3\[at]gmail\.com
.ME
.SH SEE ALSO
.PP
.BR ronin\-web\-server (1)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-web-2.0.1 man/ronin-web-reverse-proxy.1
ronin-web-2.0.0 man/ronin-web-reverse-proxy.1
ronin-web-2.0.0.rc1 man/ronin-web-reverse-proxy.1