comparison xml/en/docs/switches.xml @ 2623:2b71a9ef37c1

Documented the "-e" command-line option.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 24 Nov 2020 19:32:49 +0000
parents 259a48800748
children
comparison
equal deleted inserted replaced
2622:64bbb9163a14 2623:2b71a9ef37c1
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
7 7
8 <article name="Command-line parameters" 8 <article name="Command-line parameters"
9 link="/en/docs/switches.html" 9 link="/en/docs/switches.html"
10 lang="en" 10 lang="en"
11 rev="3"> 11 rev="4">
12 12
13 <section> 13 <section>
14 14
15 <para> 15 <para>
16 nginx supports the following command-line parameters: 16 nginx supports the following command-line parameters:
22 </listitem> 22 </listitem>
23 23
24 <listitem> 24 <listitem>
25 <literal>-c <value>file</value></literal>&mdash;use an alternative 25 <literal>-c <value>file</value></literal>&mdash;use an alternative
26 configuration <value>file</value> instead of a default file. 26 configuration <value>file</value> instead of a default file.
27 </listitem>
28
29 <listitem>
30 <literal>-e <value>file</value></literal>&mdash;use an alternative
31 error log <value>file</value> to store the log
32 instead of a default file (1.19.5).
33 The special value <literal>stderr</literal> selects the standard error file.
27 </listitem> 34 </listitem>
28 35
29 <listitem> 36 <listitem>
30 <literal>-g <value>directives</value></literal>&mdash;set 37 <literal>-g <value>directives</value></literal>&mdash;set
31 <link doc="ngx_core_module.xml">global configuration directives</link>, 38 <link doc="ngx_core_module.xml">global configuration directives</link>,