gitlab 关闭Lets Encrypt证书续签

编辑 /etc/gitlab/gitlab.rb

js 复制代码
 # letsencrypt['enable'] = nil
并更改
letsencrypt['enable'] = false

重新加载配置 重启gitlab生效

js 复制代码
gitlab-ctl reconfigure
配置成自己的证书
js 复制代码
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

js 复制代码
 gitlab-ctl reconfigure
 gitlab-ctl restart
相关推荐
极小狐2 小时前
极狐GitLab 项目功能和权限解读
运维·git·安全·gitlab·极狐gitlab
宁酱醇2 小时前
GitLab_密钥生成(SSH-key)
运维·ssh·gitlab
极小狐2 小时前
极狐GitLab 如何 cherry-pick 变更?
人工智能·git·机器学习·gitlab
云攀登者-望正茂4 小时前
60个GitLab CI/CD 面试问题和答案
ci/cd·gitlab·devops
懿瑾6 小时前
GitLab Auth2授权-Express + passport-gitlab2
gitlab·angular.js
zhang238390615418 小时前
IDEA add gitlab account 提示
java·gitlab·intellij-idea·idea
宁酱醇1 天前
各种各样的bug合集
开发语言·笔记·python·gitlab·bug
极小狐1 天前
极狐GitLab Git LFS 速率限制如何设置?
运维·git·ssh·gitlab·github
极小狐1 天前
如何解决极狐GitLab 合并冲突?
人工智能·git·机器学习·gitlab
量子位2 天前
无需数据标注!测试时强化学习,模型数学能力暴增 | 清华 & 上海 AI Lab
人工智能·gitlab·aigc