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
相关推荐
angushine2 天前
gitlab跨服务器备份
服务器·gitlab·github
蜡台3 天前
Git 常用配置:修改地址 ,提交模板配置
git·gitlab·template·git commit·gitbash
染夕陌木3 天前
极简教程:GitLab 上配置 SSH Key(附常见问题解决)
运维·ssh·gitlab
晨旭缘4 天前
GitLab CICD 中 K8s 部署:BOM 头与 YAML 格式全解
容器·kubernetes·gitlab
鳄鱼杆5 天前
服务器 | 2026年Ubuntu 24.04下GitLab Docker 企业级部署
服务器·ubuntu·gitlab
FreeBuf_6 天前
黑客滥用 GitHub 和 GitLab 托管恶意软件并实施凭证钓鱼攻击
gitlab·github
有理想的打工人9 天前
gitlab的参数设置与团队管理
gitlab
有理想的打工人9 天前
gitlab群组管理与ssh链接
ssh·gitlab
M-Ellen9 天前
从零搭建 Windows + WSL2 + Docker + GitLab CI/CD 完整手册
ci/cd·docker·gitlab
大脸胖柴9 天前
webStorm+gitLab操作学习
学习·gitlab·webstorm