From 083b153d457ec6ea4fe89da286eec0fb9c83ada0 Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller <bbodenmiller@hotmail.com> Date: Tue, 9 Sep 2014 10:43:28 -0700 Subject: [PATCH] fix formatting issue fix formatting issue with self-signed certificate section --- doc/install/installation.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/install/installation.md b/doc/install/installation.md index 0fdd48aeb05..7a0b4e1f934 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -356,16 +356,16 @@ To use GitLab with HTTPS: 1. Review the configuration file and consider applying other security and performance enhancing features. Using a self-signed certificate is discouraged but if you must use it follow the normal directions then: - 1. Generate a self-signed SSL certificate: - ``` - mkdir -p /etc/nginx/ssl/ - cd /etc/nginx/ssl/ - sudo openssl req -newkey rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key - sudo chmod o-r gitlab.key - ``` +1. Generate a self-signed SSL certificate: - 1. In the `config.yml` of gitlab-shell set `self_signed_cert` to `true`. + ``` + mkdir -p /etc/nginx/ssl/ + cd /etc/nginx/ssl/ + sudo openssl req -newkey rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key + sudo chmod o-r gitlab.key + ``` +1. In the `config.yml` of gitlab-shell set `self_signed_cert` to `true`. ### Additional Markup Styles -- GitLab