1. 给nginx的启动用户配置写tmp的权限
chown -R root:root /tmp/nginx_client_body_temp
2.以root用户启动nginx
nginx.conf中配置user root;
3.重启nginx
systemctl restart nginx
2023-11-28 16:32:10
1. 给nginx的启动用户配置写tmp的权限
chown -R root:root /tmp/nginx_client_body_temp
2.以root用户启动nginx
nginx.conf中配置user root;
3.重启nginx
systemctl restart nginx