Skip to content

Commit 9b73d9c

Browse files
committed
doc: update docs/gitlab/README.md
1 parent e8175a9 commit 9b73d9c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/gitlab/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,14 @@ gitlab_rails['backup_keep_time'] = 604800
228228
gitlab_rails['time_zone'] = 'Asia/Shanghai' # 中国的东八区时间
229229
```
230230

231+
由于新版 `docker-runner` 不支持 `https`,必须设置 `ssl`
232+
233+
```rb
234+
nginx['redirect_http_to_https'] = false
235+
nginx['ssl_certificate'] = "/var/opt/gitlab/ssl/fullchain.pem"
236+
nginx['ssl_certificate_key'] = "/var/opt/gitlab/ssl/privkey.pem"
237+
```
238+
231239
创建 `root_password.txt` 文件
232240

233241
```

0 commit comments

Comments
 (0)