Go to file
黄心宇 baeceb9c1e cont. 2024-04-18 10:41:46 +08:00
.idea href 2021-03-29 17:14:56 +08:00
.vscode 服务新建成功提示语+激 活devops后未跳转到引擎配置 2022-05-26 14:51:48 +08:00
config gitlink ssr 动态head版本 2024-04-16 09:21:49 +08:00
public 数据集 2024-04-07 09:32:53 +08:00
scripts 优化版 2020-04-28 17:23:34 +08:00
server cont. 2024-04-18 10:41:46 +08:00
src 新闻详情页meta优化 2024-04-17 17:47:23 +08:00
.babelrc cont. 2023-12-29 16:43:14 +08:00
.bashrc 专区数据集 2024-04-15 08:52:12 +08:00
.gitignore test 2023-12-26 13:49:10 +08:00
LICENSE ADD MulanPSL-2.0 LICENSE 2021-10-22 09:55:53 +08:00
README.md Update README.md 2024-04-16 09:47:29 +08:00
Routes.js 处理admins 2024-04-18 09:05:36 +08:00
add.txt 优化版 2020-04-28 17:23:34 +08:00
package-lock.json gitlink ssr 动态head版本 2024-04-16 09:21:49 +08:00
package.json gitlink ssr 动态head版本 2024-04-16 09:21:49 +08:00
readme.txt first commit 2020-03-16 14:12:11 +08:00

README.md

gitlink-ssr版本

node版本

12.x

ng配置

if ($http_user_agent ~* "googlebot|Mediapartners-Google|bingbot|google-structured-data-testing-tool|baiduspider|360Spider|Sogou Spider|Yahoo! Slurp China|^$")
  {#判断如果是网络爬虫转发到node服务器下
      proxy_pass http://www.test.com:3000;
      break;
  }

依赖安装、运行

npm install pm2 -g //装过就不用再执行此条

// 依赖
npm install

// 打包
npm run build
npm run build:server

// 启动服务
npm run pm2

或者

npm install pm2 -g //装过就不用再执行此条
./build.sh