Skip to content

Commit d0ba3d8

Browse files
author
Wachiwi
committed
Fixed markdown issues
1 parent a1fad41 commit d0ba3d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

misc/ssl-certificate-implemented/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Added the SSL section and a rewrite of port 80 to 443 in the Nginx configuration
55
nano /etc/nginx/sites-enabled/gitlab
66
```
77

8+
---
9+
810
```bash
911
server {
1012
listen 80;
@@ -58,6 +60,7 @@ server {
5860

5961
### 2. Place the SSL certificates
6062
Create the folder for the SSL certificates and place the SSL certificates & the SSL certificates key here. In our situation, we combine the SSL Certificate with the CA Root Certificate.
63+
6164
```bash
6265
mkdir /etc/nginx/ssl/ -p
6366
cp /home/source.jcid.nl.cert /etc/nginx/ssl/server.crt
@@ -66,9 +69,11 @@ cp /home/source.jcid.nl.key /etc/nginx/ssl/server.key
6669

6770
### 3. Update Gitlab config files
6871
Set the Gitlab https settings to true
72+
6973
```bash
7074
nano /home/git/gitlab/config/gitlab.yml
7175
```
76+
7277
```bash
7378
## GitLab settings
7479
gitlab:
@@ -80,15 +85,20 @@ nano /home/git/gitlab/config/gitlab.yml
8085

8186
### 4. Update Gitlab shell config files
8287
Set the Gitlab shell base url
88+
8389
```bash
8490
nano /home/git/gitlab-shell/config.yml
8591
```
92+
93+
---
94+
8695
```bash
8796
# Url to gitlab instance. Used for api calls. Should be ends with slash.
8897
gitlab_url: "https://source.jcid.nl/"
8998
```
9099

91100
### 5. Restart application
101+
92102
```bash
93103
sudo service gitlab restart
94104
sudo service nginx restart

0 commit comments

Comments
 (0)