|NO.Z.00012|——————————|^^ 配置 ^^|——|CI/CD&GitLab配置 .V02|——|GitLab.Server&Https配置|

一、gitlab server 配置——https
### --- gitlab配置https(缺少配置)
### --- https配置说明

~~~     如果想要以上的 https 方式正常生效使用,
~~~     则需要把 letsencrypt 自动生成证书的配置打开,
~~~     这样在执行重新让配置生效命令 (gitlab-ctl reconfigure) 的时候会自动给域名生成免费的证书
~~~     并自动在 gitlab 自带的 nginx 中加上相关的跳转配置,都是全自动的,非常方便。
二、配置https配置参数
### --- 配置https配置参数
~~~     如果因为这行报错,改成false即可
~~~     添加联系人的电子邮件地址

[root@server11 ~]# vim /etc/gitlab/gitlab.rb
letsencrypt['enable'] = true                           
letsencrypt['contact_emails'] = ['yanqi_vip@yeah.net'] 

 
 
 
 
 
 
 
 
 

Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
                                                                                                                                                   ——W.S.Landor

 

 

posted on   yanqi_vip  阅读(25)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 实操Deepseek接入个人知识库
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示