From f8471a5f45bda547081751a7576311a7dea30185 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 27 Aug 2014 23:37:54 +0900 Subject: [PATCH] nghttpx: Move --backend-http-proxy-uri to Connections section --- src/shrpx.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 354cf35c..5abe104a 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -876,6 +876,21 @@ Connections: << get_config()->backlog << R"( --backend-ipv4 Resolve backend hostname to IPv4 address only. --backend-ipv6 Resolve backend hostname to IPv6 address only. + --backend-http-proxy-uri= + Specify proxy URI in the form + http://[:@]:. If a + proxy requires authentication, specify and + . Note that they must be properly + percent-encoded. This proxy is used when the + backend connection is HTTP/2. First, make a + CONNECT request to the proxy and it connects to + the backend on behalf of nghttpx. This forms + tunnel. After that, nghttpx performs SSL/TLS + handshake with the downstream through the tunnel. + The timeouts when connecting and making CONNECT + request can be specified by + --backend-read-timeout and + --backend-write-timeout options. Performance: -n, --workers= @@ -989,21 +1004,6 @@ Timeout: Specifying 0 disables this feature. Default: )" << get_config()->listener_disable_timeout.tv_sec << R"( - --backend-http-proxy-uri= - Specify proxy URI in the form - http://[:@]:. If a - proxy requires authentication, specify and - . Note that they must be properly - percent-encoded. This proxy is used when the - backend connection is HTTP/2. First, make a - CONNECT request to the proxy and it connects to - the backend on behalf of nghttpx. This forms - tunnel. After that, nghttpx performs SSL/TLS - handshake with the downstream through the tunnel. - The timeouts when connecting and making CONNECT - request can be specified by - --backend-read-timeout and - --backend-write-timeout options. SSL/TLS: --ciphers= Set allowed cipher list. The format of the