aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nginx.8
diff options
context:
space:
mode:
authorIgor Ippolitov <iippolitov@nginx.com>2020-11-19 16:59:00 +0000
committerIgor Ippolitov <iippolitov@nginx.com>2020-11-19 16:59:00 +0000
commit7e1637a31631955aec753365c7149c64b216d47e (patch)
tree6472e10441473f30e95bd0b64a39b2335e308699 /docs/man/nginx.8
parent23597e97f52316ef024796c5f1b5ca0d70ecff31 (diff)
downloadnginx-7e1637a31631955aec753365c7149c64b216d47e.tar.gz
nginx-7e1637a31631955aec753365c7149c64b216d47e.zip
Core: "-e" command line option.
When installing or running from a non-root user it is sometimes required to override default, compiled in error log path. There was no way to do this without rebuilding the binary (ticket #147). This patch introduced "-e" command line option which allows one to override compiled in error log path.
Diffstat (limited to 'docs/man/nginx.8')
-rw-r--r--docs/man/nginx.89
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/man/nginx.8 b/docs/man/nginx.8
index 573d935e6..f2ed9f7b2 100644
--- a/docs/man/nginx.8
+++ b/docs/man/nginx.8
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd December 5, 2019
+.Dd November 5, 2020
.Dt NGINX 8
.Os
.Sh NAME
@@ -35,6 +35,7 @@
.Nm
.Op Fl ?hqTtVv
.Op Fl c Ar file
+.Op Fl e Ar file
.Op Fl g Ar directives
.Op Fl p Ar prefix
.Op Fl s Ar signal
@@ -54,6 +55,12 @@ Print help.
.It Fl c Ar file
Use an alternative configuration
.Ar file .
+.It Fl e Ar file
+Use an alternative error log
+.Ar file .
+Special value
+.Cm stderr
+indicates that the standard error output should be used.
.It Fl g Ar directives
Set global configuration directives.
See