how to run nginx with root? #144
Unanswered
zhangchunsheng
asked this question in
Q&A
Replies: 1 comment
-
The master process of Nginx always runs as the root user; however, its child processes will run under the user and group defined by the environment variables More details: https://github.com/shinsenter/php/blob/main/README.md#customizing-container-user-and-group-in-docker |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The nginx user is www-data not root.
www-data 424 412 0 13:10 ? 00:00:00 nginx: worker process
www-data 425 412 0 13:10 ? 00:00:00 nginx: worker process
Beta Was this translation helpful? Give feedback.
All reactions