Update nginx-boot.sh to change root to nginx user - #8
Conversation
Run the nginx process, and file ownership as nginx rather than root.
|
From what I understand, if possible it is best to run as few things as possible with the root user. However, from what I read, nginx gets started by root, and then spawns a second process that has less privileges - and so this PR may be a moot point. But it seems like it can't hurt to have nginx running from the start as the nginx user. *Original *Proposed change |
|
@cusspvz I was wondering if you'd be willing to accept this PR into the project. I've been using it for a while and it works fine. |
Run the nginx process, and file ownership as nginx rather than root.