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 天前
24小时高危漏洞速报,互联网惊天危机来临!PHP、Java、Node.js、NGINX、GitLab无一幸免,看看你家是否中招
nginx·gitlab·php
考虑考虑3 天前
git刷新远程分支列表
git·后端·gitlab
IT大白鼠10 天前
GitLab 未认证 RCE 应急实战CVE-2026-97229(CVSS 10.0)
网络·安全·gitlab
71777716 天前
Git自建用什么工具比较好:Gitea、Forgejo、GitLab CE与Gitee的选型对比
git·gitlab·gitea
colinu18 天前
Create gitlab-runner
gitlab
master33619 天前
GitLab 10.x → 19.5.x 升级路线图
gitlab
长不大的杨瑞杰19 天前
OpenCode v2 GitLab 集成实战:Issue 驱动开发、MR 审查与 CI/CD 最小权限
人工智能·ci/cd·gitlab·ai编程·opencode
极小狐25 天前
极狐GitLab万人并发架构实践,大规模组织的扩容路线图
架构·gitlab·极狐gitlab
Lvan的前端笔记1 个月前
GitLab CI 环境变量整理
ci/cd·gitlab
李迟1 个月前
CICD实例:解决GitLab Runner无法执行CICD问题
gitlab