Skip to content

Instantly share code, notes, and snippets.

@njleonzhang
Last active October 29, 2018 02:10
Show Gist options
  • Save njleonzhang/dbf6051b8f42d8ed68c8ededf9fdf150 to your computer and use it in GitHub Desktop.
Save njleonzhang/dbf6051b8f42d8ed68c8ededf9fdf150 to your computer and use it in GitHub Desktop.
服务器地址变化后,需要修改各个服务

gitlab clone 地址修改

https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab

  1. 修改 /etc/gitlab/gitlab.rb 里的 external_url 字段
  2. sudo gitlab-ctl reconfigure
  3. sudo gitlab-ctl restart

jenkins webhook 的地址修改

系统管理 -> 系统设置 -> Jenkins Location -> Jenkins URL

Rap2 地址修改

mac mini 上,前台项目在 /Users/guxuecheng/rap2/rap2-delos-frontend 里。 修改文件: /Users/guxuecheng/rap2/rap2-delos-frontend/src/config/config.prod.js 里的服务器地址,并重新编译代码 npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment