ERR_INCOMPLETE_CHUNKED_ENCODING

js报错

net::ERR_INCOMPLETE_CHUNKED_ENCODING

nginx的error log


2016/06/05 20:49:17 [xxx] 22239#0: *29366 open() "/usr/local/openresty/nginx/proxy_temp/0/15/0000000150" failed (13: Permission denied) while reading upstream..."

查看proxy_temp权限


drwxr-xr-x 12 nobody root 4096 Feb 17 02:53 proxy_temp

drwxr-xr-x  2 root   root 4096 Feb 17 02:40 sbin

drwx------  2 nobody root 4096 Feb 17 02:53 scgi_temp

drwx------  2 nobody root 4096 Feb 17 02:53 uwsgi_temp

查看nginx启动用户

直接查nginx.conf

或者

ps aux | grep "nginx: worker process" | awk '{print $1}'

更改

chown -R nobody:nobody proxy_temp/

参考

  • nginx 出现 13: Permission denied

你可能感兴趣的:(ERR_INCOMPLETE_CHUNKED_ENCODING)