Welcome! Log In Create A New Profile

Advanced

Re: Start nginx worker process with same user as master process

September 20, 2016 06:48AM
Hi Francis,

Thanks for your update.
When nginx is installed (checking with -V option), I see that the user specified is "nginx" user.
However my master and worker process are run as a different user (non root user).
In this case I see that many of the directories in nginx are owned by nginx user. (probably bcos it was installed as nginx?).
Is there a way to mention that I need this new user.

nginx: [warn] the "user" directive makes sense only if the
master process runs with super-user privileges, ignored in
/usr/local/nginx/conf/nginx.conf:6
Wth this , it looks like I cant change the user directive in nginx.conf file since it does not have any effect.
Subject Author Posted

Start nginx worker process with same user as master process

Sushma August 17, 2016 12:03PM

Re: Start nginx worker process with same user as master process

Francis Daly August 17, 2016 02:12PM

Re: Start nginx worker process with same user as master process

Sushma September 20, 2016 06:48AM

Re: Start nginx worker process with same user as master process

Francis Daly September 20, 2016 04:00PM

Re: Start nginx worker process with same user as master process

Sushma September 21, 2016 01:51AM

Re: Start nginx worker process with same user as master process

Francis Daly September 21, 2016 12:34PM

Re: Start nginx worker process with same user as master process

Sushma September 22, 2016 05:56AM

Re: Start nginx worker process with same user as master process

GreenGecko September 21, 2016 04:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 85
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready