1 .\" Man page generated from reStructuredText.
3 .TH "NGHTTPD" "1" "May 16, 2015" "1.0.0" "nghttp2"
5 nghttpd \- HTTP/2 experimental server
7 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
19 .\" .rstReportMargin pre:
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
23 .\" .rstReportMargin post:
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
31 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
35 \fBnghttpd\fP [OPTION]... <PORT> [<PRIVATE_KEY> <CERT>]
38 HTTP/2 experimental server
42 Specify listening port number.
47 Set path to server\(aqs private key. Required unless
48 \fI\%\-\-no\-tls\fP is specified.
53 Set path to server\(aqs certificate. Required unless
54 \fI\%\-\-no\-tls\fP is specified.
59 .B \-a, \-\-address=<ADDR>
60 The address to bind to. If not specified the default IP
61 address determined by getaddrinfo is used.
66 Run in a background. If \fI\%\-D\fP is used, the current working
67 directory is changed to \(aq\fI/\fP\(aq. Therefore if this option
68 is used, \fI\%\-d\fP option must be specified.
72 .B \-V, \-\-verify\-client
73 The server sends a client certificate request. If the
74 client did not return a certificate, the handshake is
75 terminated. Currently, this option just requests a
76 client certificate and does not verify it.
80 .B \-d, \-\-htdocs=<PATH>
81 Specify document root. If this option is not specified,
82 the document root is the current working directory.
87 Print debug information such as reception/ transmission
88 of frames and name/value pairs.
97 .B \-c, \-\-header\-table\-size=<SIZE>
98 Specify decoder header table size.
103 Force colored log output.
107 .B \-p, \-\-push=<PATH>=<PUSH_PATH,...>
108 Push resources <PUSH_PATH>s when <PATH> is requested.
109 This option can be used repeatedly to specify multiple
110 push configurations. <PATH> and <PUSH_PATH>s are
111 relative to document root. See \fI\%\-\-htdocs\fP option.
112 Example: \fI\%\-p\fP/=/foo.png \fI\%\-p\fP/doc=/bar.css
116 .B \-b, \-\-padding=<N>
117 Add at most <N> bytes to a frame payload as padding.
118 Specify 0 to disable padding.
122 .B \-m, \-\-max\-concurrent\-streams=<N>
123 Set the maximum number of the concurrent streams in one
130 .B \-n, \-\-workers=<N>
131 Set the number of worker threads.
137 .B \-e, \-\-error\-gzip
138 Make error response gzipped.
142 .B \-\-dh\-param\-file=<PATH>
143 Path to file that contains DH parameters in PEM format.
144 Without this option, DHE cipher suites are not
149 .B \-\-early\-response
150 Start sending response when request HEADERS is received,
151 rather than complete request is received.
155 .B \-\-trailer=<HEADER>
156 Add a trailer header to a response. <HEADER> must not
157 include pseudo header field (header field name starting
158 with \(aq:\(aq). The trailer is sent only if a response has
159 body part. Example: \fI\%\-\-trailer\fP \(aqfoo: bar\(aq.
164 Display the incoming traffic in hexadecimal (Canonical
165 hex+ASCII display). If SSL/TLS is used, decrypted data
171 Send back uploaded content if method is POST or PUT.
176 Display version information and exit.
181 Display this help and exit.
184 The <SIZE> argument is an integer and an optional unit (e.g., 10K is
185 10 * 1024). Units are K, M and G (powers of 1024).
188 \fInghttp(1)\fP, \fInghttpx(1)\fP, \fIh2load(1)\fP
192 2012, 2015, Tatsuhiro Tsujikawa
193 .\" Generated by docutils manpage writer.