From 7e1637a31631955aec753365c7149c64b216d47e Mon Sep 17 00:00:00 2001 From: Igor Ippolitov Date: Thu, 19 Nov 2020 16:59:00 +0000 Subject: 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. --- docs/man/nginx.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs/man') 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 -- cgit