Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: systemctl cannot start nginx when access_log is set to /tmp/nginx/access.log

$
0
0
I got the answer for this - actually this is by design:

The nginx service[0] in RHEL/CentOS 8 uses PrivateTmp=true directive so it doesn't see the /tmp/nginx directory you just created. You could either add a service dropin with ExecStartPre= which will do the log directory setup or drop PrivateTmp=true to make this work.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>