Commit 5d204fc3 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Add more option categories

parent 84ead30e
...@@ -1119,7 +1119,7 @@ Logging: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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"(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment