From e4816c5ba93a13a955abc72cafa8552c00b66a17 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 16 Jan 2016 16:11:41 +0900 Subject: [PATCH] nghttpx: Add clarification of quotes in configuration file --- doc/nghttpx.h2r | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/nghttpx.h2r b/doc/nghttpx.h2r index abbc4c9a..2a36dd70 100644 --- a/doc/nghttpx.h2r +++ b/doc/nghttpx.h2r @@ -13,6 +13,22 @@ FILES ``=`` between option name and value. Don't put extra leading or trailing spaces. + When specifying arguments including characters which have special + meaning to a shell, we usually use quotes so that shell does not + interpret them. When writing this configuration file, quotes for + this purpose must not be used. For example, specify additional + request header field, do this: + + .. code-block:: text + + add-request-header=foo: bar + + instead of: + + .. code-block:: text + + add-request-header="foo: bar" + The options which do not take argument in the command-line *take* argument in the configuration file. Specify ``yes`` as an argument (e.g., ``http2-proxy=yes``). If other string is given, it is