From 7ad317d9ce056a173d52fa9dfca6281188e968b5 Mon Sep 17 00:00:00 2001 From: cidevant Date: Wed, 3 Dec 2014 21:43:37 +0100 Subject: [PATCH] GitLab configs for Nginx Distinct between SSL and NO SSL version --- install/centos/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install/centos/README.md b/install/centos/README.md index 113cb8e..a9815fc 100644 --- a/install/centos/README.md +++ b/install/centos/README.md @@ -616,7 +616,16 @@ To do so, follow the instructions provided by the [nginx wiki][nginx-centos] and yum update yum -y install nginx chkconfig nginx on + +Copy GitLab config for nginx: + + # NO SSL wget -O /etc/nginx/conf.d/gitlab.conf https://gitlab.com/gitlab-org/gitlab-ce/raw/master/lib/support/nginx/gitlab-ssl + +or + + # SSL + # wget -O /etc/nginx/conf.d/gitlab.conf https://gitlab.com/gitlab-org/gitlab-ce/raw/master/lib/support/nginx/gitlab-ssl Edit `/etc/nginx/conf.d/gitlab.conf` and replace `git.example.com` with your FQDN. Make sure to read the comments in order to properly set up SSL.