Fixed markdown issues

This commit is contained in:
Wachiwi
2014-03-14 15:30:17 +00:00
parent a1fad41a90
commit d0ba3d84ca

View File

@@ -5,6 +5,8 @@ Added the SSL section and a rewrite of port 80 to 443 in the Nginx configuration
nano /etc/nginx/sites-enabled/gitlab
```
---
```bash
server {
listen 80;
@@ -58,6 +60,7 @@ server {
### 2. Place the SSL certificates
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.
```bash
mkdir /etc/nginx/ssl/ -p
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
### 3. Update Gitlab config files
Set the Gitlab https settings to true
```bash
nano /home/git/gitlab/config/gitlab.yml
```
```bash
## GitLab settings
gitlab:
@@ -80,15 +85,20 @@ nano /home/git/gitlab/config/gitlab.yml
### 4. Update Gitlab shell config files
Set the Gitlab shell base url
```bash
nano /home/git/gitlab-shell/config.yml
```
---
```bash
# Url to gitlab instance. Used for api calls. Should be ends with slash.
gitlab_url: "https://source.jcid.nl/"
```
### 5. Restart application
```bash
sudo service gitlab restart
sudo service nginx restart