[crit] 30064#0: 5866 open() /client_body_temp/0000000021 failed (13: Permission denied).阿星小栈

nginx报错

[crit] 30064#0: *5866 open() "/usr/local/var/run/nginx/client_body_temp/0000000021" failed (13: Permission denied),

nginx配置文件中增加

1
2
3
4
5
6
7
8
9
http {
    # ...

    client_body_temp_path /tmp 1 2;
    client_body_buffer_size 256k;
    #client_body_in_file_only off;

    # ...
}

 

 

原文链接 : http://geeklive.cn/2019/07/25/NginxPostError/undefined/NginxPostError/ 

你可能感兴趣的:(nginx)