gitlab 关闭Lets Encrypt证书续签

编辑 /etc/gitlab/gitlab.rb

 # letsencrypt['enable'] = nil
并更改
letsencrypt['enable'] = false

重新加载配置 重启gitlab生效

gitlab-ctl reconfigure
配置成自己的证书
external_url 'http://gitlab.example.com'

开启以下3向即可
nginx['redirect_http_to_https'] = true
nginx['ssl_certificate'] = "/etc/gitlab/exchangs.top.pem"
nginx['ssl_certificate_key'] = "/etc/gitlab/exchangs.top.key"

重新配置 && 重启GitLab

 gitlab-ctl reconfigure
 gitlab-ctl restart

相关推荐

  1. gitlab 关闭Lets Encrypt证书续签

    2024-02-03 01:58:02       55 阅读
  2. linux下自动续签https证书

    2024-02-03 01:58:02       43 阅读
  3. k8s组件证书续期

    2024-02-03 01:58:02       50 阅读
  4. gitlab关联新仓库

    2024-02-03 01:58:02       31 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-03 01:58:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-03 01:58:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-03 01:58:02       82 阅读
  4. Python语言-面向对象

    2024-02-03 01:58:02       91 阅读

热门阅读

  1. harmony os系统

    2024-02-03 01:58:02       59 阅读
  2. 二分图板子

    2024-02-03 01:58:02       54 阅读
  3. numpy的学习之1

    2024-02-03 01:58:02       53 阅读
  4. Android 8.1 输入框返回键改为删除功能

    2024-02-03 01:58:02       52 阅读
  5. 面试手写第三期

    2024-02-03 01:58:02       55 阅读
  6. 网络通信--术语对照表

    2024-02-03 01:58:02       52 阅读
  7. ubuntu安装redis记录

    2024-02-03 01:58:02       62 阅读
  8. QT 加载 mysql 驱动

    2024-02-03 01:58:02       56 阅读