From 44af3dab50b8f6b452111bc1a62f79fb360e7159 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 25 Mar 2016 02:14:39 +0900 Subject: [PATCH] nghttpx: Update doc --- src/shrpx.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 77bd5d67..73fd10a7 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1189,10 +1189,10 @@ void print_help(std::ostream &out) { out << R"( Set path to server's private key. Required unless - --frontend-no-tls are given. + "no-tls" keyword is used in --frontend option. Set path to server's certificate. Required unless - --frontend-no-tls are given. To make OCSP stapling - work, this must be an absolute path. + "no-tls" keyword is used in --frontend option. To make + OCSP stapling work, this must be an absolute path. Options: The options are categorized into several groups. @@ -1685,10 +1685,11 @@ HTTP/2 and SPDY: Mode: (default mode) - Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. If - --frontend-no-tls is used, accept HTTP/2 and HTTP/1.1. - The incoming HTTP/1.1 connection can be upgraded to - HTTP/2 through HTTP Upgrade. + Accept HTTP/2, SPDY and HTTP/1.1 over SSL/TLS. "no-tls" + keyword is used in --frontend option, accept HTTP/2 and + HTTP/1.1 over cleartext TCP. The incoming HTTP/1.1 + connection can be upgraded to HTTP/2 through HTTP + Upgrade. -s, --http2-proxy Like default mode, but enable forward proxy. This is so called HTTP/2 proxy mode.