Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
2d9d6545
Commit
2d9d6545
authored
Dec 11, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update man pages
parent
7398e571
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
94 additions
and
24 deletions
+94
-24
doc/h2load.1
doc/h2load.1
+1
-1
doc/nghttp.1
doc/nghttp.1
+1
-1
doc/nghttpd.1
doc/nghttpd.1
+1
-1
doc/nghttpx.1
doc/nghttpx.1
+44
-9
doc/nghttpx.1.rst
doc/nghttpx.1.rst
+47
-12
No files found.
doc/h2load.1
View file @
2d9d6545
.\" Man page generated from reStructuredText.
.
.TH "H2LOAD" "1" "
Nov 27, 2016" "1.17.0
" "nghttp2"
.TH "H2LOAD" "1" "
Dec 11, 2016" "1.18.0-DEV
" "nghttp2"
.SH NAME
h2load \- HTTP/2 benchmarking tool
.
...
...
doc/nghttp.1
View file @
2d9d6545
.\" Man page generated from reStructuredText.
.
.TH "NGHTTP" "1" "
Nov 27, 2016" "1.17.0
" "nghttp2"
.TH "NGHTTP" "1" "
Dec 11, 2016" "1.18.0-DEV
" "nghttp2"
.SH NAME
nghttp \- HTTP/2 client
.
...
...
doc/nghttpd.1
View file @
2d9d6545
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPD" "1" "
Nov 27, 2016" "1.17.0
" "nghttp2"
.TH "NGHTTPD" "1" "
Dec 11, 2016" "1.18.0-DEV
" "nghttp2"
.SH NAME
nghttpd \- HTTP/2 server
.
...
...
doc/nghttpx.1
View file @
2d9d6545
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPX" "1" "
Nov 27, 2016" "1.17.0
" "nghttp2"
.TH "NGHTTPX" "1" "
Dec 11, 2016" "1.18.0-DEV
" "nghttp2"
.SH NAME
nghttpx \- HTTP/2 proxy
.
...
...
@@ -120,13 +120,13 @@ together forming load balancing group.
Several parameters <PARAM> are accepted after <PATTERN>.
The parameters are delimited by ";". The available
parameters are: "proto=<PROTO>", "tls",
"sni=<SNI_HOST>",
"fall=<N>", "rise=<N>", and
"affinity=<METHOD>"
. The parameter consists of keyword,
and optionally followed by "=" and value. For example,
the parameter "proto=h2" consists of the keyword "proto"
and value "h2". The parameter "tls" consists of the
keyword "tls" without value. Each parameter is
described as follows.
"sni=<SNI_HOST>",
"fall=<N>", "rise=<N>",
"affinity=<METHOD>"
, and "dns". The parameter consists
of keyword, and optionally followed by "=" and value.
For example, the parameter "proto=h2" consists of the
keyword "proto" and value "h2". The parameter "tls"
consists of the keyword "tls" without value. Each
parameter is
described as follows.
.sp
The backend application protocol can be specified using
optional "proto" parameter, and in the form of
...
...
@@ -175,6 +175,14 @@ session affinity is desired. The session affinity may
break if one of the backend gets unreachable, or backend
settings are reloaded or replaced by API.
.sp
By default, name resolution of backend host name is done
at start up, or reloading configuration. If "dns"
parameter is given, name resolution takes place
dynamically. This is useful if backend address changes
frequently. If "dns" is given, name resolution of
backend host name at start up, or reloading
configuration is skipped.
.sp
Since ";" and ":" are used as delimiter, <PATTERN> must
not contain these characters. Since ";" has special
meaning in shell, the option value must be quoted.
...
...
@@ -1238,7 +1246,7 @@ backend server, the custom error pages are not used.
.B \-\-server\-name=<NAME>
Change server response header field value to <NAME>.
.sp
Default: \fBnghttpx nghttp2/1.1
7.0
\fP
Default: \fBnghttpx nghttp2/1.1
8.0\-DEV
\fP
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -1255,6 +1263,33 @@ Set the maximum size of request body for API request.
.sp
Default: \fB16K\fP
.UNINDENT
.SS DNS
.INDENT 0.0
.TP
.B \-\-dns\-cache\-timeout=<DURATION>
Set duration that cached DNS results remain valid. Note
that nghttpx caches the unsuccessful results as well.
.sp
Default: \fB10s\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-dns\-lookup\-timeout=<DURATION>
Set timeout that DNS server is given to respond to the
initial DNS query. For the 2nd and later queries,
server is given time based on this timeout, and it is
scaled linearly.
.sp
Default: \fB5s\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-dns\-max\-try=<N>
Set the number of DNS query before nghttpx gives up name
lookup.
.sp
Default: \fB2\fP
.UNINDENT
.SS Debug
.INDENT 0.0
.TP
...
...
doc/nghttpx.1.rst
View file @
2d9d6545
...
...
@@ -104,13 +104,13 @@ Connections
Several parameters <PARAM> are accepted after <PATTERN>.
The parameters are delimited by ";". The available
parameters are: "proto=<PROTO>", "tls",
"sni=<SNI_HOST>",
"fall=<N>", "rise=<N>", and
"affinity=<METHOD>"
. The parameter consists of keyword,
and optionally followed by "=" and value. For example,
the parameter "proto=h2" consists of the keyword "proto"
and value "h2". The parameter "tls" consists of the
keyword "tls" without value. Each parameter is
described as follows.
"sni=<SNI_HOST>",
"fall=<N>", "rise=<N>",
"affinity=<METHOD>"
, and "dns". The parameter consists
of keyword, and optionally followed by "=" and value.
For example, the parameter "proto=h2" consists of the
keyword "proto" and value "h2". The parameter "tls"
consists of the keyword "tls" without value. Each
parameter is
described as follows.
The backend application protocol can be specified using
optional "proto" parameter, and in the form of
...
...
@@ -159,6 +159,14 @@ Connections
break if one of the backend gets unreachable, or backend
settings are reloaded or replaced by API.
By default, name resolution of backend host name is done
at start up, or reloading configuration. If "dns"
parameter is given, name resolution takes place
dynamically. This is useful if backend address changes
frequently. If "dns" is given, name resolution of
backend host name at start up, or reloading
configuration is skipped.
Since ";" and ":" are used as delimiter, <PATTERN> must
not contain these characters. Since ";" has special
meaning in shell, the option value must be quoted.
...
...
@@ -1118,7 +1126,7 @@ HTTP
Change server response header field value to <NAME>.
Default: ``nghttpx nghttp2/1.1
7.0
``
Default: ``nghttpx nghttp2/1.1
8.0-DEV
``
.. option:: --no-server-rewrite
...
...
@@ -1137,6 +1145,33 @@ API
Default: ``16K``
DNS
~~~
.. option:: --dns-cache-timeout=<DURATION>
Set duration that cached DNS results remain valid. Note
that nghttpx caches the unsuccessful results as well.
Default: ``10s``
.. option:: --dns-lookup-timeout=<DURATION>
Set timeout that DNS server is given to respond to the
initial DNS query. For the 2nd and later queries,
server is given time based on this timeout, and it is
scaled linearly.
Default: ``5s``
.. option:: --dns-max-try=<N>
Set the number of DNS query before nghttpx gives up name
lookup.
Default: ``2``
Debug
~~~~~
...
...
@@ -1767,10 +1802,10 @@ The replacement is done instantly without breaking existing
connections or requests. It also avoids any process creation as is
the case with hot swapping with signals.
The one limitation is that only numeric IP address is allow
e
d in
:option:`backend <--backend>` in request body
unless "dns" parameter
is missing while non numeric hostname is allowed in command-line or
configuration file is read
using :option:`--conf`.
The one limitation is that only numeric IP address is allowd in
:option:`backend <--backend>` in request body
while non numeric
hostname is allowed in command-line or configuration file is read
using :option:`--conf`.
SEE ALSO
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment