Hm... it doesn't sound believable, but for example, you can restrict the root
user with SELinux context ;)
>
> Hello!
>
> > Why does this error occur (Ubuntu 18.04/nginx 1.14.0)?
> >
> > nginx.conf:21
> > user www-data;
> >
> > error.log
> > 2019/01/24 19:07:07 [warn] 3526#3526: the "user" dir
I think, the reason that nobody answered, that the essence of a problem is
accurately not formulated.
It in what, that you incorrectly form the configuration file?
-Original Message-
From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of mgmuhilan
Sent: Monday, March 20, 2017 11:46 PM
> Why would you manipulate nginx cache files from php directly (or even if you
> do so why not run the nginx and phpfpm under same user then)?
Yeah... For example: with php-fpm you can run each site with its own uid/gid
(pool configuration), and with address on which to accept FastCGI requests
S
And what is the purpose of changing permissions?
In other words - nginx.conf - user www-data; So for example, Directories
Access: (0700/drwx) with Uid: (33/www-data) And no one forbids you to access
the cache from this user for manipulating files (allow other process (for
example php-fpm runs
"Log format can contain common variables, and variables that exist only at the
time of a log write"
So, other options I do not see, except ngx_http_log_module
But, .. interesting thing is what it means to be overwritten?)
Nginx, some adjustments in request headers, receives from the client:
- N