nginx部署前端

在server里面 配置对应的前端路径html

location / { 
root /usr/local/nginx/html/dist;
index index.html inden.htm;
}

  


从新加载配置文件前端

cd /usr/local/nginx/sbin
./nginx -s reload
相关文章
相关标签/搜索