Empty file "off" under /usr/local/nginx/

Francis Daly francis at daoine.org
Wed Apr 8 05:58:41 UTC 2020


On Wed, Apr 08, 2020 at 01:15:05AM -0400, q1548 wrote:

Hi there,

> I found an empty file "off" under /usr/local/nginx/, then I deleted it, this
> empty file be automatically recreated, why?

Somewhere in your config, you set "off" as the name of the file to write,
probably thinking that you are disabling the facility instead.

Perhaps "error_log off;" is used?

  nginx -T | grep off

may show it; then repeating "nginx -T" and finding the context should
show you which file/line is involved.

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list