nghttpx: Add more option categories

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-15 23:19:35 +09:00
parent 84ead30e58
commit 5d204fc3aa
1 changed files with 7 additions and 1 deletions

View File

@ -1119,7 +1119,7 @@ Logging:
Default: )" << str_syslog_facility(get_config()->syslog_facility) Default: )" << str_syslog_facility(get_config()->syslog_facility)
<< R"( << R"(
Misc: HTTP:
--add-x-forwarded-for --add-x-forwarded-for
Append X-Forwarded-For header field to the downstream Append X-Forwarded-For header field to the downstream
request. request.
@ -1146,6 +1146,8 @@ Misc:
won't replace anything already set. This option can be won't replace anything already set. This option can be
used several times to specify multiple header fields. used several times to specify multiple header fields.
Example: --add-response-header="foo: bar" Example: --add-response-header="foo: bar"
Debug:
--frontend-http2-dump-request-header=<PATH> --frontend-http2-dump-request-header=<PATH>
Dumps request headers received by HTTP/2 frontend to the Dumps request headers received by HTTP/2 frontend to the
file denoted in <PATH>. The output is done in HTTP/1 file denoted in <PATH>. The output is done in HTTP/1
@ -1162,6 +1164,8 @@ Misc:
Print HTTP/2 frames in frontend to stderr. This option Print HTTP/2 frames in frontend to stderr. This option
is not thread safe and MUST NOT be used with option is not thread safe and MUST NOT be used with option
-n=N, where N >= 2. -n=N, where N >= 2.
Process:
-D, --daemon -D, --daemon
Run in a background. If -D is used, the current working Run in a background. If -D is used, the current working
directory is changed to '/'. directory is changed to '/'.
@ -1170,6 +1174,8 @@ Misc:
--user=<USER> --user=<USER>
Run this program as <USER>. This option is intended to Run this program as <USER>. This option is intended to
be used to drop root privileges. be used to drop root privileges.
Misc:
--conf=<PATH> --conf=<PATH>
Load configuration from <PATH>. Load configuration from <PATH>.
Default: )" << get_config()->conf_path.get() << R"( Default: )" << get_config()->conf_path.get() << R"(