From 316aad88683e78699bbd4962eebe32c329fa9008 Mon Sep 17 00:00:00 2001 From: sinm Date: Sun, 12 Jan 2014 00:23:13 +0300 Subject: [PATCH] Added few missed lines about gitlab-shell via SSL --- web-server/nginx/gitlab-ssl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-server/nginx/gitlab-ssl b/web-server/nginx/gitlab-ssl index b152b79..7ddb878 100644 --- a/web-server/nginx/gitlab-ssl +++ b/web-server/nginx/gitlab-ssl @@ -10,7 +10,9 @@ # sudo openssl req -new -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key # sudo chmod o-r gitlab.key # Also you need to edit gitlab-shell config. -# Set "gitlab_url" param in gitlab-shell/config.yml to https://git.example.com +# 1) Set "gitlab_url" param in gitlab-shell/config.yml to https://git.example.com +# 2) Set "ca_file" to /etc/nginx/gitlab.crt +# 3) Set "self_signed_cert" to true # You also need to edit gitlab/config/gitlab.yml # 1) Define port for http "port: 443" # 2) Enable https "https: true"