From 5d204fc3aa8ec1142a16c3b781c510762bc09228 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 15 Jan 2015 23:19:35 +0900 Subject: [PATCH] nghttpx: Add more option categories --- src/shrpx.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index 689000ed..6eb08f68 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1119,7 +1119,7 @@ Logging: Default: )" << str_syslog_facility(get_config()->syslog_facility) << R"( -Misc: +HTTP: --add-x-forwarded-for Append X-Forwarded-For header field to the downstream request. @@ -1146,6 +1146,8 @@ Misc: won't replace anything already set. This option can be used several times to specify multiple header fields. Example: --add-response-header="foo: bar" + +Debug: --frontend-http2-dump-request-header= Dumps request headers received by HTTP/2 frontend to the file denoted in . The output is done in HTTP/1 @@ -1162,6 +1164,8 @@ Misc: Print HTTP/2 frames in frontend to stderr. This option is not thread safe and MUST NOT be used with option -n=N, where N >= 2. + +Process: -D, --daemon Run in a background. If -D is used, the current working directory is changed to '/'. @@ -1170,6 +1174,8 @@ Misc: --user= Run this program as . This option is intended to be used to drop root privileges. + +Misc: --conf= Load configuration from . Default: )" << get_config()->conf_path.get() << R"(