Centos中用Nginx部署静态页面

1.如遇403错误,则在ngjnx.conf首行添加user root 2.在server中添加root为项目所在目录 /root/website/html/index.html root /root/website/ index index.html index.htm; 3.开启nginx systemctl start nginx systemctl status nginx 4.cd /e
相关文章
相关标签/搜索