mac上Nginx 靜態資源訪問403

mac上nginx靜態資源訪問403 /usr/local/etc/nginx/nginx.conf 默認 #user nobody 取消註釋,修改爲 有權限的用戶: user 【用戶名】 【用戶組】 例如: user rui staff 查看用戶所在用戶組的命令:id rui 修改後,重啓nginx ,sudo nginx -s reload 重新訪問路徑就可以了
相關文章
相關標籤/搜索