nghttp2/doc/nghttpd.1

84 lines
2.3 KiB
Groff
Raw Normal View History

2014-05-16 16:54:09 +02:00
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1.
.TH NGHTTPD "1" "May 2014" "nghttpd nghttp2/0.4.0" "User Commands"
.SH NAME
2014-05-16 16:54:09 +02:00
nghttpd \- HTTP/2 experimental server
.SH SYNOPSIS
2014-05-16 16:54:09 +02:00
.B nghttpd
[\fI\,OPTION\/\fR]... \fI\,<PORT> <PRIVATE_KEY> <CERT>\/\fR
.br
.B nghttpd
\fI\,--no-tls \/\fR[\fI\,OPTION\/\fR]... \fI\,<PORT>\/\fR
.SH DESCRIPTION
2014-05-16 16:54:09 +02:00
HTTP/2 experimental server
.TP
2014-05-16 16:54:09 +02:00
<PORT>
Specify listening port number.
.TP
2014-05-16 16:54:09 +02:00
<PRIVATE_KEY>
Set path to server's private key. Required
unless \fB\-\-no\-tls\fR is specified.
.TP
<CERT>
Set path to server's certificate. Required
unless \fB\-\-no\-tls\fR is specified.
.SH OPTIONS
.TP
\fB\-D\fR, \fB\-\-daemon\fR
2014-05-16 16:54:09 +02:00
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
2014-05-16 16:54:09 +02:00
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>
2014-05-16 16:54:09 +02:00
Specify document root. If this option is not
specified, the document root is the current
working directory.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
2014-05-16 16:54:09 +02:00
Print debug information such as reception/
transmission of frames and name/value pairs.
.TP
\fB\-\-no\-tls\fR
Disable SSL/TLS.
.TP
2014-05-16 16:54:09 +02:00
\fB\-c\fR, \fB\-\-header\-table\-size=\fR<N>
Specify decoder header table size.
.TP
\fB\-\-color\fR
Force colored log output.
.TP
2014-05-16 16:54:09 +02:00
\fB\-p\fR, \fB\-\-push=\fR<PATH>=<PUSH_PATH,...>
Push resources <PUSH_PATH>s when <PATH> is
requested. This option can be used repeatedly to
specify multiple push configurations. <PATH> and
<PUSH_PATH>s are relative to document root. See
\fB\-\-htdocs\fR option. Example: \fB\-p\fR/=/foo.png
\fB\-p\fR/doc=/bar.css
.TP
\fB\-b\fR, \fB\-\-padding=\fR<N>
Add at most <N> bytes to a frame payload as
padding. Specify 0 to disable padding.
.TP
\fB\-n\fR, \fB\-\-workers=\fR<CORE>
Set the number of worker threads.
Default: 1
.TP
\fB\-e\fR, \fB\-\-error\-gzip\fR
Make error response gzipped.
.TP
\fB\-\-version\fR
Display version information and exit.
.TP
\fB\-h\fR, \fB\-\-help\fR
2014-05-16 16:54:09 +02:00
Display this help and exit.
.SH "SEE ALSO"
2014-05-16 16:54:09 +02:00
nghttp(1), nghttpx(1), h2load(1)