Update man pages
This commit is contained in:
parent
3712c89a66
commit
0ee80be995
|
@ -1,6 +1,6 @@
|
||||||
.\" Man page generated from reStructuredText.
|
.\" Man page generated from reStructuredText.
|
||||||
.
|
.
|
||||||
.TH "H2LOAD" "1" "April 25, 2016" "1.10.0" "nghttp2"
|
.TH "H2LOAD" "1" "April 29, 2016" "1.11.0-DEV" "nghttp2"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
h2load \- HTTP/2 benchmarking tool
|
h2load \- HTTP/2 benchmarking tool
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Man page generated from reStructuredText.
|
.\" Man page generated from reStructuredText.
|
||||||
.
|
.
|
||||||
.TH "NGHTTP" "1" "April 25, 2016" "1.10.0" "nghttp2"
|
.TH "NGHTTP" "1" "April 29, 2016" "1.11.0-DEV" "nghttp2"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nghttp \- HTTP/2 client
|
nghttp \- HTTP/2 client
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Man page generated from reStructuredText.
|
.\" Man page generated from reStructuredText.
|
||||||
.
|
.
|
||||||
.TH "NGHTTPD" "1" "April 25, 2016" "1.10.0" "nghttp2"
|
.TH "NGHTTPD" "1" "April 29, 2016" "1.11.0-DEV" "nghttp2"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nghttpd \- HTTP/2 server
|
nghttpd \- HTTP/2 server
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Man page generated from reStructuredText.
|
.\" Man page generated from reStructuredText.
|
||||||
.
|
.
|
||||||
.TH "NGHTTPX" "1" "April 25, 2016" "1.10.0" "nghttp2"
|
.TH "NGHTTPX" "1" "April 29, 2016" "1.11.0-DEV" "nghttp2"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nghttpx \- HTTP/2 proxy
|
nghttpx \- HTTP/2 proxy
|
||||||
.
|
.
|
||||||
|
@ -40,14 +40,14 @@ A reverse proxy for HTTP/2, HTTP/1 and SPDY.
|
||||||
.TP
|
.TP
|
||||||
.B <PRIVATE_KEY>
|
.B <PRIVATE_KEY>
|
||||||
Set path to server\(aqs private key. Required unless
|
Set path to server\(aqs private key. Required unless
|
||||||
"no\-tls" keyword is used in \fI\%\-\-frontend\fP option.
|
"no\-tls" parameter is used in \fI\%\-\-frontend\fP option.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B <CERT>
|
.B <CERT>
|
||||||
Set path to server\(aqs certificate. Required unless
|
Set path to server\(aqs certificate. Required unless
|
||||||
"no\-tls" keyword is used in \fI\%\-\-frontend\fP option. To make
|
"no\-tls" parameter is used in \fI\%\-\-frontend\fP option. To
|
||||||
OCSP stapling work, this must be an absolute path.
|
make OCSP stapling work, this must be an absolute path.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.sp
|
.sp
|
||||||
|
@ -119,16 +119,16 @@ together forming load balancing group.
|
||||||
.sp
|
.sp
|
||||||
Several parameters <PARAM> are accepted after <PATTERN>.
|
Several parameters <PARAM> are accepted after <PATTERN>.
|
||||||
The parameters are delimited by ";". The available
|
The parameters are delimited by ";". The available
|
||||||
parameters are: "proto=<PROTO>", "tls", "fall=<N>", and
|
parameters are: "proto=<PROTO>", "tls",
|
||||||
"rise=<N>". The parameter consists of keyword, and
|
"sni=<SNI_HOST>", "fall=<N>", and "rise=<N>". The
|
||||||
optionally followed by "=" and value. For example, the
|
parameter consists of keyword, and optionally followed
|
||||||
parameter "proto=h2" consists of the keyword "proto" and
|
by "=" and value. For example, the parameter "proto=h2"
|
||||||
value "h2". The parameter "tls" consists of the keyword
|
consists of the keyword "proto" and value "h2". The
|
||||||
"tls" without value. Each parameter is described as
|
parameter "tls" consists of the keyword "tls" without
|
||||||
follows.
|
value. Each parameter is described as follows.
|
||||||
.sp
|
.sp
|
||||||
The backend application protocol can be specified using
|
The backend application protocol can be specified using
|
||||||
optional "proto" keyword, and in the form of
|
optional "proto" parameter, and in the form of
|
||||||
"proto=<PROTO>". All that share the same <PATTERN> must
|
"proto=<PROTO>". All that share the same <PATTERN> must
|
||||||
have the same <PROTO> value if it is given. <PROTO>
|
have the same <PROTO> value if it is given. <PROTO>
|
||||||
should be one of the following list without quotes:
|
should be one of the following list without quotes:
|
||||||
|
@ -137,8 +137,12 @@ should be one of the following list without quotes:
|
||||||
over TLS. But in this option, it may mean HTTP/2 over
|
over TLS. But in this option, it may mean HTTP/2 over
|
||||||
cleartext TCP unless "tls" keyword is used (see below).
|
cleartext TCP unless "tls" keyword is used (see below).
|
||||||
.sp
|
.sp
|
||||||
TLS can be enabled by specifying optional "tls" keyword.
|
TLS can be enabled by specifying optional "tls"
|
||||||
TLS is not enabled by default.
|
parameter. TLS is not enabled by default.
|
||||||
|
.sp
|
||||||
|
With "sni=<SNI_HOST>" parameter, it can override the TLS
|
||||||
|
SNI field value with given <SNI_HOST>. This will
|
||||||
|
default to the backend <HOST> name
|
||||||
.sp
|
.sp
|
||||||
The feature to detect whether backend is online or
|
The feature to detect whether backend is online or
|
||||||
offline can be enabled using optional "fall" and "rise"
|
offline can be enabled using optional "fall" and "rise"
|
||||||
|
@ -174,7 +178,7 @@ This option can be used multiple times to listen to
|
||||||
multiple addresses.
|
multiple addresses.
|
||||||
.sp
|
.sp
|
||||||
Optionally, TLS can be disabled by specifying "no\-tls"
|
Optionally, TLS can be disabled by specifying "no\-tls"
|
||||||
keyword. TLS is enabled by default.
|
parameter. TLS is enabled by default.
|
||||||
.sp
|
.sp
|
||||||
Default: \fB*,3000\fP
|
Default: \fB*,3000\fP
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
|
@ -469,12 +473,6 @@ stapling work, <CERTPATH> must be absolute path.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \-\-backend\-tls\-sni\-field=<HOST>
|
|
||||||
Explicitly set the content of the TLS SNI extension.
|
|
||||||
This will default to the backend HOST name.
|
|
||||||
.UNINDENT
|
|
||||||
.INDENT 0.0
|
|
||||||
.TP
|
|
||||||
.B \-\-dh\-param\-file=<PATH>
|
.B \-\-dh\-param\-file=<PATH>
|
||||||
Path to file that contains DH parameters in PEM format.
|
Path to file that contains DH parameters in PEM format.
|
||||||
Without this option, DHE cipher suites are not
|
Without this option, DHE cipher suites are not
|
||||||
|
@ -570,7 +568,7 @@ ticket key generator to rotate keys frequently. See
|
||||||
"TLS SESSION TICKET RESUMPTION" section in manual page
|
"TLS SESSION TICKET RESUMPTION" section in manual page
|
||||||
to know the data format in memcached entry. Optionally,
|
to know the data format in memcached entry. Optionally,
|
||||||
memcached connection can be encrypted with TLS by
|
memcached connection can be encrypted with TLS by
|
||||||
specifying "tls" keyword.
|
specifying "tls" parameter.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
|
@ -656,7 +654,7 @@ Specify address of memcached server to store session
|
||||||
cache. This enables shared session cache between
|
cache. This enables shared session cache between
|
||||||
multiple nghttpx instances. Optionally, memcached
|
multiple nghttpx instances. Optionally, memcached
|
||||||
connection can be encrypted with TLS by specifying "tls"
|
connection can be encrypted with TLS by specifying "tls"
|
||||||
keyword.
|
parameter.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
|
@ -796,8 +794,8 @@ does not support server push.
|
||||||
.TP
|
.TP
|
||||||
.B (default mode)
|
.B (default mode)
|
||||||
Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. "no\-tls"
|
Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. "no\-tls"
|
||||||
keyword is used in \fI\%\-\-frontend\fP option, accept HTTP/2 and
|
parameter is used in \fI\%\-\-frontend\fP option, accept HTTP/2
|
||||||
HTTP/1.1 over cleartext TCP. The incoming HTTP/1.1
|
and HTTP/1.1 over cleartext TCP. The incoming HTTP/1.1
|
||||||
connection can be upgraded to HTTP/2 through HTTP
|
connection can be upgraded to HTTP/2 through HTTP
|
||||||
Upgrade.
|
Upgrade.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
|
@ -1430,7 +1428,27 @@ Return the current phase.
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.TP
|
.TP
|
||||||
.B attribute [R] remote_addr
|
.B attribute [R] remote_addr
|
||||||
Return IP address of a remote client.
|
Return IP address of a remote client. If connection is made
|
||||||
|
via UNIX domain socket, this returns the string "localhost".
|
||||||
|
.UNINDENT
|
||||||
|
.INDENT 7.0
|
||||||
|
.TP
|
||||||
|
.B attribute [R] server_addr
|
||||||
|
Return address of server that accepted the connection. This
|
||||||
|
is a string which specified in \fI\%\-\-frontend\fP option,
|
||||||
|
excluding port number, and not a resolved IP address. For
|
||||||
|
UNIX domain socket, this is a path to UNIX domain socket.
|
||||||
|
.UNINDENT
|
||||||
|
.INDENT 7.0
|
||||||
|
.TP
|
||||||
|
.B attribute [R] server_port
|
||||||
|
Return port number of the server frontend which accepted the
|
||||||
|
connection from client.
|
||||||
|
.UNINDENT
|
||||||
|
.INDENT 7.0
|
||||||
|
.TP
|
||||||
|
.B attribute [R] tls_used
|
||||||
|
Return true if TLS is used on the connection.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
|
@ -1473,7 +1491,13 @@ value is assigned.
|
||||||
.B attribute [R/W] path
|
.B attribute [R/W] path
|
||||||
Request path, including query component (i.e., /index.html).
|
Request path, including query component (i.e., /index.html).
|
||||||
On assignment, copy of given value is assigned. The path does
|
On assignment, copy of given value is assigned. The path does
|
||||||
not include authority component of URI.
|
not include authority component of URI. This may include
|
||||||
|
query component. nghttpx makes certain normalization for
|
||||||
|
path. It decodes percent\-encoding for unreserved characters
|
||||||
|
(see \fI\%https://tools.ietf.org/html/rfc3986#section\-2.3\fP), and
|
||||||
|
resolves ".." and ".". But it may leave characters which
|
||||||
|
should be percent\-encoded as is. So be careful when comparing
|
||||||
|
path against desired string.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -20,13 +20,13 @@ A reverse proxy for HTTP/2, HTTP/1 and SPDY.
|
||||||
|
|
||||||
|
|
||||||
Set path to server's private key. Required unless
|
Set path to server's private key. Required unless
|
||||||
"no-tls" keyword is used in :option:`--frontend` option.
|
"no-tls" parameter is used in :option:`--frontend` option.
|
||||||
|
|
||||||
.. describe:: <CERT>
|
.. describe:: <CERT>
|
||||||
|
|
||||||
Set path to server's certificate. Required unless
|
Set path to server's certificate. Required unless
|
||||||
"no-tls" keyword is used in :option:`--frontend` option. To make
|
"no-tls" parameter is used in :option:`--frontend` option. To
|
||||||
OCSP stapling work, this must be an absolute path.
|
make OCSP stapling work, this must be an absolute path.
|
||||||
|
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
|
@ -103,16 +103,16 @@ Connections
|
||||||
|
|
||||||
Several parameters <PARAM> are accepted after <PATTERN>.
|
Several parameters <PARAM> are accepted after <PATTERN>.
|
||||||
The parameters are delimited by ";". The available
|
The parameters are delimited by ";". The available
|
||||||
parameters are: "proto=<PROTO>", "tls", "fall=<N>", and
|
parameters are: "proto=<PROTO>", "tls",
|
||||||
"rise=<N>". The parameter consists of keyword, and
|
"sni=<SNI_HOST>", "fall=<N>", and "rise=<N>". The
|
||||||
optionally followed by "=" and value. For example, the
|
parameter consists of keyword, and optionally followed
|
||||||
parameter "proto=h2" consists of the keyword "proto" and
|
by "=" and value. For example, the parameter "proto=h2"
|
||||||
value "h2". The parameter "tls" consists of the keyword
|
consists of the keyword "proto" and value "h2". The
|
||||||
"tls" without value. Each parameter is described as
|
parameter "tls" consists of the keyword "tls" without
|
||||||
follows.
|
value. Each parameter is described as follows.
|
||||||
|
|
||||||
The backend application protocol can be specified using
|
The backend application protocol can be specified using
|
||||||
optional "proto" keyword, and in the form of
|
optional "proto" parameter, and in the form of
|
||||||
"proto=<PROTO>". All that share the same <PATTERN> must
|
"proto=<PROTO>". All that share the same <PATTERN> must
|
||||||
have the same <PROTO> value if it is given. <PROTO>
|
have the same <PROTO> value if it is given. <PROTO>
|
||||||
should be one of the following list without quotes:
|
should be one of the following list without quotes:
|
||||||
|
@ -121,8 +121,12 @@ Connections
|
||||||
over TLS. But in this option, it may mean HTTP/2 over
|
over TLS. But in this option, it may mean HTTP/2 over
|
||||||
cleartext TCP unless "tls" keyword is used (see below).
|
cleartext TCP unless "tls" keyword is used (see below).
|
||||||
|
|
||||||
TLS can be enabled by specifying optional "tls" keyword.
|
TLS can be enabled by specifying optional "tls"
|
||||||
TLS is not enabled by default.
|
parameter. TLS is not enabled by default.
|
||||||
|
|
||||||
|
With "sni=<SNI_HOST>" parameter, it can override the TLS
|
||||||
|
SNI field value with given <SNI_HOST>. This will
|
||||||
|
default to the backend <HOST> name
|
||||||
|
|
||||||
The feature to detect whether backend is online or
|
The feature to detect whether backend is online or
|
||||||
offline can be enabled using optional "fall" and "rise"
|
offline can be enabled using optional "fall" and "rise"
|
||||||
|
@ -158,7 +162,7 @@ Connections
|
||||||
multiple addresses.
|
multiple addresses.
|
||||||
|
|
||||||
Optionally, TLS can be disabled by specifying "no-tls"
|
Optionally, TLS can be disabled by specifying "no-tls"
|
||||||
keyword. TLS is enabled by default.
|
parameter. TLS is enabled by default.
|
||||||
|
|
||||||
|
|
||||||
Default: ``*,3000``
|
Default: ``*,3000``
|
||||||
|
@ -426,11 +430,6 @@ SSL/TLS
|
||||||
option can be used multiple times. To make OCSP
|
option can be used multiple times. To make OCSP
|
||||||
stapling work, <CERTPATH> must be absolute path.
|
stapling work, <CERTPATH> must be absolute path.
|
||||||
|
|
||||||
.. option:: --backend-tls-sni-field=<HOST>
|
|
||||||
|
|
||||||
Explicitly set the content of the TLS SNI extension.
|
|
||||||
This will default to the backend HOST name.
|
|
||||||
|
|
||||||
.. option:: --dh-param-file=<PATH>
|
.. option:: --dh-param-file=<PATH>
|
||||||
|
|
||||||
Path to file that contains DH parameters in PEM format.
|
Path to file that contains DH parameters in PEM format.
|
||||||
|
@ -519,7 +518,7 @@ SSL/TLS
|
||||||
"TLS SESSION TICKET RESUMPTION" section in manual page
|
"TLS SESSION TICKET RESUMPTION" section in manual page
|
||||||
to know the data format in memcached entry. Optionally,
|
to know the data format in memcached entry. Optionally,
|
||||||
memcached connection can be encrypted with TLS by
|
memcached connection can be encrypted with TLS by
|
||||||
specifying "tls" keyword.
|
specifying "tls" parameter.
|
||||||
|
|
||||||
.. option:: --tls-ticket-key-memcached-address-family=(auto|IPv4|IPv6)
|
.. option:: --tls-ticket-key-memcached-address-family=(auto|IPv4|IPv6)
|
||||||
|
|
||||||
|
@ -594,7 +593,7 @@ SSL/TLS
|
||||||
cache. This enables shared session cache between
|
cache. This enables shared session cache between
|
||||||
multiple nghttpx instances. Optionally, memcached
|
multiple nghttpx instances. Optionally, memcached
|
||||||
connection can be encrypted with TLS by specifying "tls"
|
connection can be encrypted with TLS by specifying "tls"
|
||||||
keyword.
|
parameter.
|
||||||
|
|
||||||
.. option:: --tls-session-cache-memcached-address-family=(auto|IPv4|IPv6)
|
.. option:: --tls-session-cache-memcached-address-family=(auto|IPv4|IPv6)
|
||||||
|
|
||||||
|
@ -725,8 +724,8 @@ Mode
|
||||||
|
|
||||||
|
|
||||||
Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. "no-tls"
|
Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. "no-tls"
|
||||||
keyword is used in :option:`--frontend` option, accept HTTP/2 and
|
parameter is used in :option:`--frontend` option, accept HTTP/2
|
||||||
HTTP/1.1 over cleartext TCP. The incoming HTTP/1.1
|
and HTTP/1.1 over cleartext TCP. The incoming HTTP/1.1
|
||||||
connection can be upgraded to HTTP/2 through HTTP
|
connection can be upgraded to HTTP/2 through HTTP
|
||||||
Upgrade.
|
Upgrade.
|
||||||
|
|
||||||
|
@ -1306,7 +1305,24 @@ respectively.
|
||||||
|
|
||||||
.. rb:attr_reader:: remote_addr
|
.. rb:attr_reader:: remote_addr
|
||||||
|
|
||||||
Return IP address of a remote client.
|
Return IP address of a remote client. If connection is made
|
||||||
|
via UNIX domain socket, this returns the string "localhost".
|
||||||
|
|
||||||
|
.. rb:attr_reader:: server_addr
|
||||||
|
|
||||||
|
Return address of server that accepted the connection. This
|
||||||
|
is a string which specified in :option:`--frontend` option,
|
||||||
|
excluding port number, and not a resolved IP address. For
|
||||||
|
UNIX domain socket, this is a path to UNIX domain socket.
|
||||||
|
|
||||||
|
.. rb:attr_reader:: server_port
|
||||||
|
|
||||||
|
Return port number of the server frontend which accepted the
|
||||||
|
connection from client.
|
||||||
|
|
||||||
|
.. rb:attr_reader:: tls_used
|
||||||
|
|
||||||
|
Return true if TLS is used on the connection.
|
||||||
|
|
||||||
.. rb:class:: Request
|
.. rb:class:: Request
|
||||||
|
|
||||||
|
@ -1342,7 +1358,13 @@ respectively.
|
||||||
|
|
||||||
Request path, including query component (i.e., /index.html).
|
Request path, including query component (i.e., /index.html).
|
||||||
On assignment, copy of given value is assigned. The path does
|
On assignment, copy of given value is assigned. The path does
|
||||||
not include authority component of URI.
|
not include authority component of URI. This may include
|
||||||
|
query component. nghttpx makes certain normalization for
|
||||||
|
path. It decodes percent-encoding for unreserved characters
|
||||||
|
(see https://tools.ietf.org/html/rfc3986#section-2.3), and
|
||||||
|
resolves ".." and ".". But it may leave characters which
|
||||||
|
should be percent-encoded as is. So be careful when comparing
|
||||||
|
path against desired string.
|
||||||
|
|
||||||
.. rb:attr_reader:: headers
|
.. rb:attr_reader:: headers
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue