nginx部署前端
时间:2020-05-11 23:33:51
收藏:0
阅读:70
在server里面 配置对应的前端路径
location / {
root /usr/local/nginx/html/dist;
index index.html inden.htm;
}
重新加载配置文件
cd /usr/local/nginx/sbin ./nginx -s reload
原文:https://www.cnblogs.com/heshaoye/p/12872765.html
评论(0)