ERR_INCOMPLETE_CHUNKED_ENCODING

js報錯

net::ERR_INCOMPLETE_CHUNKED_ENCODINGhtml

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.confnginx

或者rest

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

更改

chown -R nobody:nobody proxy_temp/htm

參考

本站公眾號
   歡迎關注本站公眾號,獲取更多信息