Skip to content

Commit d93d659

Browse files
author
Nick Merrill
committed
Minor gitlab-ssl guide fixes
1 parent e434e7a commit d93d659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-server/nginx/gitlab-ssl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
## [Optional] Generate a self-signed ssl certificate:
2121
## mkdir /etc/nginx/ssl/
2222
## cd /etc/nginx/ssl/
23-
## sudo openssl req -new rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key
23+
## sudo openssl req -newkey rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key
2424
## sudo chmod o-r gitlab.key
2525
##
2626
## Edit `gitlab-shell/config.yml`:
2727
## 1) Set "gitlab_url" param in `gitlab-shell/config.yml` to `https://git.example.com`
28-
## 2) Set "ca_file" to `/etc/nginx/gitlab.crt`
28+
## 2) Set "ca_file" to `/etc/nginx/ssl/gitlab.crt`
2929
## 3) Set "self_signed_cert" to `true`
3030
## Edit `gitlab/config/gitlab.yml`:
3131
## 1) Define port for http "port: 443"

0 commit comments

Comments
 (0)