nghttp2/doc/nghttpd.1

56 lines
1.5 KiB
Groff

.\" nghttpd manual page
.TH nghttpd "1" "January 2014" "nghttpd" "User Commands"
.SH NAME
nghttpd \- HTTP 2.0 experimental server
.SH SYNOPSIS
\fBnghttpd\fP [\fIOPTIONS\fP...] [\fIPRIVATE_KEY\fP \fICERT\fP]
.SH DESCRIPTION
Experimental HTTP 2.0 server.
.SH "Positional arguments"
.TP
\fIPRIVATE_KEY\fP
Set path to server's private key. Required
unless either \fB\-p\fR or \fB\-\-client\fR is specified.
.TP
\fICERT\fP
Set path to server's certificate. Required
unless either \fB\-p\fR or \fB\-\-client\fR is specified.
.SH OPTIONS
.TP
\fB\-D\fR, \fB\-\-daemon\fR
Run in a background. If \fB\-D\fR is used, the
current working directory is changed to '/'.
Therefore if this option is used, \fB\-d\fR option
must be specified.
.TP
\fB\-V\fR, \fB\-\-verify\-client\fR
The server sends a client certificate
request. If the client did not return a
certificate, the handshake is terminated.
Currently, this option just requests a
client certificate and does not verify it.
.TP
\fB\-d\fR, \fB\-\-htdocs=\fR<PATH>
Specify document root. If this option is
not specified, the document root is the
current working directory.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Print debug information such as reception/
transmission of frames and name/value pairs.
.TP
\fB\-\-no\-tls\fR
Disable SSL/TLS.
.TP
\fB\-f\fR, \fB\-\-no\-flow\-control\fR
Disables connection and stream level flow
controls.
.TP
\fB\-\-color\fR
Force colored log output.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print this help.
.SH "SEE ALSO"
nghttp(1), nghttpx(1)