将网站资源放在已安装好的nginx html子目录下,打开conf 目录下的nginx.conf 配置文件
新增一条location /网站目录 {
root /html/网站目录;
index index.html;
}