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
相关推荐
田里的水稻几秒前
OE_gitlab服务操作和维护方法
分布式·gitlab
puamac1 天前
GitLab CI/CD 指南
gitlab
Rain5091 天前
GitLab-Runner + AI 代码审查服务 + 远程大模型 全套部署运维实战
linux·运维·人工智能·python·ci/cd·gitlab·ai编程
puamac2 天前
gitLab CI/CD 执行流程说明
ci/cd·gitlab
维度跃迁笔记2 天前
2核4G轻量服务器部署GitLab实战:配置调优与CI/CD拆分方案
服务器·ci/cd·gitlab
Byron Loong3 天前
GitLab 全部权限角色详解
gitlab
Cat_Rocky3 天前
Gitlab安装与配置
linux·运维·gitlab
D4c-lovetrain3 天前
CentOS9 GitLab 完整配置全流程
gitlab
puamac3 天前
GitLab CI/CD 故障排查手册
ci/cd·gitlab
Aubrey-J4 天前
老版本Gitlab SSL证书自动续期错误KeyError: key not found: “token“解决
网络协议·gitlab·ssl