/usr/local/etc/nginx/nginx.conf

  • 默认 #user nobody

取消注释,修改为 有权限的用户:

user 【用户名】 【用户组】 
例如: 
user yssoft staff

查看用户所在用户组的命令:id yssoft

修改后,重启nginx

相关文章:

  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-07-23
  • 2021-06-29
猜你喜欢
  • 2021-11-26
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-01-15
  • 2022-01-16
  • 2022-01-22
相关资源
相似解决方案