From 00bf7016003beda6d1d7bc53cbcde0bc6ae12977 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 18 Apr 2016 23:45:33 +0900 Subject: [PATCH] nghttpx: Truncate too long -b option signature --- src/shrpx.cc | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 77c119c7..007c034e 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1198,7 +1198,8 @@ Options: The options are categorized into several groups. Connections: - -b, --backend=(,|unix:)[;[[:...]][;proto=][;tls][;fall=][;rise=]] + -b, --backend=(,|unix:)[;[[:...]][[;PARAM]...] + 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 @@ -1260,12 +1261,23 @@ Connections: The backend addresses sharing same are grouped together forming load balancing group. + Several parameters are accepted after . + The parameters are delimited by ";". The available + parameters are: "proto=", "tls", "fall=", and + "rise=". 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. The each parameters are described + as follows. + Optionally, backend application protocol can be - specified in . All that share the same - must have the same value if it is given. - should be one of the following list without - quotes: "h2", "http/1.1". The default value of - is "http/1.1". Note that usually "h2" refers to HTTP/2 + specified using "proto" keyword, and in the form of + "proto=". All that share the same must + have the same value if it is given. + should be one of the following list without quotes: + "h2", "http/1.1". The default value of is + "http/1.1". Note that usually "h2" refers to HTTP/2 over TLS. But in this option, it may mean HTTP/2 over cleartext TCP unless "tls" keyword is used (see below).