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