.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. .TH NGHTTPD "1" "November 2014" "nghttpd nghttp2/0.6.6" "User Commands" .SH NAME nghttpd \- HTTP/2 experimental server .SH SYNOPSIS .B nghttpd [\fI\,OPTION\/\fR]... \fI\, \/\fR .br .B nghttpd \fI\,--no-tls \/\fR[\fI\,OPTION\/\fR]... \fI\,\/\fR .SH DESCRIPTION HTTP/2 experimental server .TP Specify listening port number. .TP Set path to server's private key. Required unless \fB\-\-no\-tls\fR is specified. .TP Set path to server's certificate. Required unless \fB\-\-no\-tls\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 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\-c\fR, \fB\-\-header\-table\-size=\fR Specify decoder header table size. .TP \fB\-\-color\fR Force colored log output. .TP \fB\-p\fR, \fB\-\-push=\fR= Push resources s when is requested. This option can be used repeatedly to specify multiple push configurations. and 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 Add at most bytes to a frame payload as padding. Specify 0 to disable padding. .TP \fB\-n\fR, \fB\-\-workers=\fR Set the number of worker threads. Default: 1 .TP \fB\-e\fR, \fB\-\-error\-gzip\fR Make error response gzipped. .TP \fB\-\-dh\-param\-file=\fR Path to file that contains DH parameters in PEM format. Without this option, DHE cipher suites are not available. .TP \fB\-\-early\-response\fR Start sending response when request HEADERS is received, rather than complete request is received. .TP \fB\-\-version\fR Display version information and exit. .TP \fB\-h\fR, \fB\-\-help\fR Display this help and exit. .SH "SEE ALSO" nghttp(1), nghttpx(1), h2load(1)