📌  相关文章
📜  pen() "var lib nginx tmp client_body 0000000001" 失败(13:权限被拒绝),客户端: - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:36.094000             🧑  作者: Mango

代码示例1
Your nginx worker has no permissions to write in nginx directory.
so you have two options:

1. give the nginx permisions:
  chmod -R 777 /var/lib/nginx/
  
2. change the nginx user to nginx(better option).
  go to to /etc/nginx/nginx.conf
  and change the user to nginx.