user git;

I think the user means you run the server with the account.

Can I use multiple users in nginx conf?

If one user has permission issue, then nginx will try another account to access the file?

# user www-data git gitlab poc;
user git;
worker_processes 4;
pid /run/nginx.pid;
有帮助吗?

解决方案

I think the user means you run the server with the account.

Correct; the nginx process(es) are run as that user.

Can I use multiple users in nginx conf?

No.

If one user has permission issue, then nginx will try another account to access the file?

No. Ensure the user whom you have set to run the server as has all of the needed permissions.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top