.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-web-server 1 "2022-01-01" Ronin Web "User Manuals" .SH NAME .PP ronin\-web\-server \- Starts a web server .SH SYNOPSIS .PP \fBronin\-web\-server\fR \[lB]\fIoptions\fP\[rB] .SH DESCRIPTION .PP Starts a web server\. .SH OPTIONS .TP \fB\-H\fR, \fB\-\-host\fR \fIHOST\fP Host name or IP to bind to\. Defaults to \fBlocalhost\fR\. .TP \fB\-p\fR, \fB\-\-port\fR \fIPORT\fP Port number to listen on\. Defaults to \fB8000\fR\. .TP \fB\-A\fR, \fB\-\-basic\-auth\fR \fIUSER\fP:\fIPASSWORD\fP Sets up Basic\-Authentication with the given \fIUSER\fP and \fIPASSWORD\fP\. .TP \fB\-d\fR, \fB\-\-dir\fR \[sl]\fIPATH\fP:\fIDIR\fP Mounts a directory to the given \fIPATH\fP\. .TP \fB\-f\fR, \fB\-\-file\fR \[sl]\fIPATH\fP:\fIFILE\fP Mounts a file to the given \fIPATH\fP\. .TP \fB\-r\fR, \fB\-\-root\fR \fIDIR\fP Root directory to serve\. .TP \fB\-R\fR, \fB\-\-redirect\fR \[sl]\fIPATH\fP:\fIURL\fP Registers a \fB302 Found\fR redirect at the given \fIPATH\fP .TP \fB\-h\fR, \fB\-\-help\fR Print help information .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .SH SEE ALSO .PP .BR ronin\-web\-proxy (1)