![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
nginx
java小白吃
Java菜鸡
展开
-
nginx 部署多个vue项目 多文件方式 conf.d/*.conf
在nginx/conf目录下新建conf.d文件夹nginx/conf/ngxin.confworker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; #重点指定原创 2022-03-17 22:39:14 · 417 阅读 · 0 评论 -
nginx 部署多个vue项目
这里写目录标题vue项目配置.env.staging文件.env.production文件vuefig.js文件router->index.js文件nginx配置ngxin下载后解压即可1.vue项目配置(基于若依框架的前端项目)vue项目配置.env.staging文件# 页面标题VUE_APP_TITLE = xx管理#用于配置 nginx的子路径NODE_ENV = production# 测试环境配置ENV = 'staging'#访问的接口VUE_APP_BASE原创 2022-03-13 23:42:02 · 5953 阅读 · 0 评论