http://mayanze.com/(这里有我写的粗浅网站,欢迎留言)
2020/12/17 09:56:03 [error] 20076#0: *1 "/root/dist/index.html" is forbidden (13: Permission denied), client: 222.91.166.7, server: 127.0.0.1, request: "GET / HTTP/1.1", host: "81.70.162.XXX"
1、修改nginx 用户:
2.修改文件夹权限
chmod 777 dist/
就可以访问了