Skip to content

Commit b396703

Browse files
committed
Merge branch 'master' into 'master'
[Guide] Gitlab 6.X - Centos 6.X - Fixed markdown issues While reading I spotted some markdown rendering issues and fixed them.
2 parents d3c44c9 + d0ba3d8 commit b396703

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

misc/ssl-certificate-implemented/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
### 1. Update Nginx config
22
Added the SSL section and a rewrite of port 80 to 443 in the Nginx configuration
3+
34
```bash
45
nano /etc/nginx/sites-enabled/gitlab
56
```
7+
8+
---
9+
610
```bash
711
server {
812
listen 80;
@@ -56,6 +60,7 @@ server {
5660

5761
### 2. Place the SSL certificates
5862
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+
5964
```bash
6065
mkdir /etc/nginx/ssl/ -p
6166
cp /home/source.jcid.nl.cert /etc/nginx/ssl/server.crt
@@ -64,9 +69,11 @@ cp /home/source.jcid.nl.key /etc/nginx/ssl/server.key
6469

6570
### 3. Update Gitlab config files
6671
Set the Gitlab https settings to true
72+
6773
```bash
6874
nano /home/git/gitlab/config/gitlab.yml
6975
```
76+
7077
```bash
7178
## GitLab settings
7279
gitlab:
@@ -78,15 +85,20 @@ nano /home/git/gitlab/config/gitlab.yml
7885

7986
### 4. Update Gitlab shell config files
8087
Set the Gitlab shell base url
88+
8189
```bash
8290
nano /home/git/gitlab-shell/config.yml
8391
```
92+
93+
---
94+
8495
```bash
8596
# Url to gitlab instance. Used for api calls. Should be ends with slash.
8697
gitlab_url: "https://source.jcid.nl/"
8798
```
8899

89100
### 5. Restart application
101+
90102
```bash
91103
sudo service gitlab restart
92104
sudo service nginx restart
@@ -102,4 +114,4 @@ To make sure you didn't miss anything run a more thorough check with:
102114

103115
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
104116

105-
If all items are green, then the SSL certificate successfully implemented
117+
If all items are green, then the SSL certificate successfully implemented

0 commit comments

Comments
 (0)