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
9c8bc121
Commit
9c8bc121
authored
Jul 15, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update man pages
parent
860da8bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
50 deletions
+61
-50
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
+29
-24
doc/nghttpx.1.rst
doc/nghttpx.1.rst
+29
-23
No files found.
doc/h2load.1
View file @
9c8bc121
.\" Man page generated from reStructuredText.
.
.TH "H2LOAD" "1" "July 1
2, 2015" "1.0.6-DEV
" "nghttp2"
.TH "H2LOAD" "1" "July 1
4, 2015" "1.0.6
" "nghttp2"
.SH NAME
h2load \- HTTP/2 benchmarking tool
.
...
...
doc/nghttp.1
View file @
9c8bc121
.\" Man page generated from reStructuredText.
.
.TH "NGHTTP" "1" "July 1
2, 2015" "1.0.6-DEV
" "nghttp2"
.TH "NGHTTP" "1" "July 1
4, 2015" "1.0.6
" "nghttp2"
.SH NAME
nghttp \- HTTP/2 experimental client
.
...
...
doc/nghttpd.1
View file @
9c8bc121
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPD" "1" "July 1
2, 2015" "1.0.6-DEV
" "nghttp2"
.TH "NGHTTPD" "1" "July 1
4, 2015" "1.0.6
" "nghttp2"
.SH NAME
nghttpd \- HTTP/2 experimental server
.
...
...
doc/nghttpx.1
View file @
9c8bc121
.\
" Man page generated from reStructuredText.
.
.TH "
NGHTTPX
" "
1
" "
July
1
2
,
2015
" "
1.0.6
-
DEV
" "
nghttp2
"
.TH "
NGHTTPX
" "
1
" "
July
1
4
,
2015
" "
1.0.6
" "
nghttp2
"
.SH NAME
nghttpx \- HTTP/2 experimental proxy
.
...
...
@@ -55,7 +55,7 @@ The options are categorized into several groups.
.SS Connections
.INDENT 0.0
.TP
.B \-b, \-\-backend=
<HOST>,<PORT>
[;<PATTERN>[:...]]
.B \-b, \-\-backend=
(<HOST>,<PORT>|unix:<PATH>)
[;<PATTERN>[:...]]
Set backend host and port. The multiple backend
addresses are accepted by repeating this option. UNIX
domain socket can be specified by prefixing path name
...
...
@@ -66,27 +66,27 @@ is only used if request matches the pattern. If \fI\%\-s\fP or
\f
I\%\-p
\f
P is used, <PATTERN>s are ignored. The pattern
matching is closely designed to ServeMux in net/http
package of Go programming language. <PATTERN> consists
of path, host + path or
just host. The path must starts
with
"
\
fI
/\
fP
". If it ends with "
\
fI
/\
fP
", it matches to the
request path whose prefix is the path. To deal with
the
request to the directory without trailing slash, pattern
w
hich ends with "
\
fI
/\
fP
" also matches the path if pattern ==
path + "
\
fI
/\
fP
" (e.g., pattern "
\
fI
/
foo
/\
fP
" matches path "
\
fI
/
foo
\
fP
").
If it does not end with "
\
fI
/\
fP
", it performs exact match
against the request path. If host is given, it performs
exact match against the request host. If host alone is
given, "
\
fI
/\
fP
" is appended to it, so that it matches all
paths under the host (e.g., specifying "
nghttp2
.
org
"
equals to "
nghttp2
.
org
/
").
.sp
Patterns
with host take precedence over path only
patterns. Then, longer
patterns take precedence over
of path, host + path or
just host. The path must start
with
"
\
fI
/\
fP
". If it ends with "
\
fI
/\
fP
", it matches all request
path in its subtree. To deal with the request to
the
directory without trailing slash, the path which ends
w
ith "
\
fI
/\
fP
" also matches the request path which only lacks
trailing \(aq
\f
I/
\f
P\(aq (e.g., path "
\
fI
/
foo
/\
fP
" matches request path
"
\
fI
/
foo
\
fP
"). If it does not end with "
\
fI
/\
fP
", it performs exact
match against the request path. If host is given, it
performs exact match against the request host. If host
alone is given, "
\
fI
/\
fP
" is appended to it, so that it
matches all request paths under the host (e.g.,
specifying "
nghttp2
.
org
"
equals to "
nghttp2
.
org
/
").
.sp
Patterns
with host take precedence over patterns with
just path. Then, longer
patterns take precedence over
shorter ones, breaking a tie by the order of the
appearance in the configuration.
.sp
If <PATTERN> is omitted, "
\
fI
/\
fP
" is used as pattern, which
matches all
paths (catch\-all pattern). The catch\-all
backend must be given.
matches all
request paths (catch\-all pattern). The
catch\-all
backend must be given.
.sp
When doing a match, nghttpx made some normalization to
pattern, request host and path. For host part, they are
...
...
@@ -104,18 +104,20 @@ The multiple <PATTERN>s can be specified, delimiting
them by "
:
". Specifying
\f
I\%\-b
\f
P\(aq127.0.0.1,8080;nghttp2.org:www.nghttp2.org\(aq has the
same effect to specify
\f
I\%\-b
\f
P\(aq127.0.0.1,8080;nghttp2.org\(aq
and
\f
I\%\-b
\f
P\(aq127.0.0.1,8080
:
www.nghttp2.org\(aq.
and
\f
I\%\-b
\f
P\(aq127.0.0.1,8080
;
www.nghttp2.org\(aq.
.sp
The backend addresses sharing same <PATTERN> are grouped
together forming load balancing group. Since "
;
" and
"
:
" are used as delimiter, <PATTERN> must not contain
these characters.
together forming load balancing group.
.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.
.sp
Default:
\f
B127.0.0.1,80
\f
P
.UNINDENT
.INDENT 0.0
.TP
.B \-f, \-\-frontend=
<HOST>,<PORT>
.B \-f, \-\-frontend=
(<HOST>,<PORT>|unix:<PATH>)
Set frontend host and port. If <HOST> is \(aq*\(aq, it
assumes all addresses including both IPv4 and IPv6.
UNIX domain socket can be specified by prefixing path
...
...
@@ -692,6 +694,9 @@ $ssl_session_reused: "r" if SSL/TLS session was
reused. Otherwise, "
.
"
.UNINDENT
.sp
The variable can be enclosed by "
{
" and "
}
" for
disambiguation (e.g., ${remote_addr}).
.sp
Default:
\f
B$remote_addr \- \- [$time_local] "
$
request
" $status $body_bytes_sent "
$
http_referer
" "
$
http_user_agent
"
\f
P
.UNINDENT
.INDENT 0.0
...
...
doc/nghttpx.1.rst
View file @
9c8bc121
...
...
@@ -37,7 +37,7 @@ The options are categorized into several groups.
Connections
~~~~~~~~~~~
..
option
::
-
b
,
--
backend
=
<
HOST
>,<
PORT
>
[;<
PATTERN
>[:...]]
..
option
::
-
b
,
--
backend
=
(<
HOST
>,<
PORT
>|
unix
:<
PATH
>)
[;<
PATTERN
>[:...]]
Set
backend
host
and
port
.
The
multiple
backend
addresses
are
accepted
by
repeating
this
option
.
UNIX
...
...
@@ -49,27 +49,27 @@ Connections
:
option
:`-
p
`
is
used
,
<
PATTERN
>
s
are
ignored
.
The
pattern
matching
is
closely
designed
to
ServeMux
in
net
/
http
package
of
Go
programming
language
.
<
PATTERN
>
consists
of
path
,
host
+
path
or
just
host
.
The
path
must
starts
with
"*/*"
.
If
it
ends
with
"*/*"
,
it
matches
to
the
request
path
whose
prefix
is
the
path
.
To
deal
with
the
request
to
the
directory
without
trailing
slash
,
pattern
w
hich
ends
with
"*/*"
also
matches
the
path
if
pattern
==
path
+
"*/*"
(
e
.
g
.,
pattern
"*/foo/*"
matches
path
"*/foo*"
).
If
it
does
not
end
with
"*/*"
,
it
performs
exact
match
against
the
request
path
.
If
host
is
given
,
it
performs
exact
match
against
the
request
host
.
If
host
alone
is
given
,
"*/*"
is
appended
to
it
,
so
that
it
matches
all
paths
under
the
host
(
e
.
g
.,
specifying
"nghttp2.org"
equals
to
"nghttp2.org/"
).
Patterns
with
host
take
precedence
over
path
only
patterns
.
Then
,
longer
patterns
take
precedence
over
of
path
,
host
+
path
or
just
host
.
The
path
must
start
with
"*/*"
.
If
it
ends
with
"*/*"
,
it
matches
all
request
path
in
its
subtree
.
To
deal
with
the
request
to
the
directory
without
trailing
slash
,
the
path
which
ends
w
ith
"*/*"
also
matches
the
request
path
which
only
lacks
trailing
'*/*'
(
e
.
g
.,
path
"*/foo/*"
matches
request
path
"*/foo*"
).
If
it
does
not
end
with
"*/*"
,
it
performs
exact
match
against
the
request
path
.
If
host
is
given
,
it
performs
exact
match
against
the
request
host
.
If
host
alone
is
given
,
"*/*"
is
appended
to
it
,
so
that
it
matches
all
request
paths
under
the
host
(
e
.
g
.,
specifying
"nghttp2.org"
equals
to
"nghttp2.org/"
).
Patterns
with
host
take
precedence
over
patterns
with
just
path
.
Then
,
longer
patterns
take
precedence
over
shorter
ones
,
breaking
a
tie
by
the
order
of
the
appearance
in
the
configuration
.
If
<
PATTERN
>
is
omitted
,
"*/*"
is
used
as
pattern
,
which
matches
all
paths
(
catch
-
all
pattern
).
The
catch
-
all
backend
must
be
given
.
matches
all
request
paths
(
catch
-
all
pattern
).
The
catch
-
all
backend
must
be
given
.
When
doing
a
match
,
nghttpx
made
some
normalization
to
pattern
,
request
host
and
path
.
For
host
part
,
they
are
...
...
@@ -87,16 +87,19 @@ Connections
them
by
":"
.
Specifying
:
option
:`-
b
`\
'127.0.0.1,8080;nghttp2.org:www.nghttp2.org'
has
the
same
effect
to
specify
:
option
:`-
b
`\
'127.0.0.1,8080;nghttp2.org'
and
:
option
:`-
b
`\
'127.0.0.1,8080
:
www.nghttp2.org'
.
and
:
option
:`-
b
`\
'127.0.0.1,8080
;
www.nghttp2.org'
.
The
backend
addresses
sharing
same
<
PATTERN
>
are
grouped
together
forming
load
balancing
group
.
Since
";"
and
":"
are
used
as
delimiter
,
<
PATTERN
>
must
not
contain
these
characters
.
together
forming
load
balancing
group
.
Since
";"
and
":"
are
used
as
delimiter
,
<
PATTERN
>
must
not
contain
these
characters
.
Since
";"
has
special
meaning
in
shell
,
the
option
value
must
be
quoted
.
Default
:
``
127.0.0.1
,
80
``
..
option
::
-
f
,
--
frontend
=
<
HOST
>,<
PORT
>
..
option
::
-
f
,
--
frontend
=
(<
HOST
>,<
PORT
>|
unix
:<
PATH
>)
Set
frontend
host
and
port
.
If
<
HOST
>
is
'\*'
,
it
assumes
all
addresses
including
both
IPv4
and
IPv6
.
...
...
@@ -611,6 +614,9 @@ Logging
* $ssl_session_reused: "r" if SSL/TLS session was
reused. Otherwise, "."
The variable can be enclosed by "{" and "}" for
disambiguation (e.g., ${remote_addr}).
Default: ``$remote_addr - - [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"``
...
...
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