gitlab open ssl

cd /home/git/gitlab/

sudo -u git -H vi config/gitlab.yml

sudo -u git -H vi /home/git/gitlab-shell/config.yml

wget -O /etc/nginx/conf.d/gitlab.conf https://gitlab.com/gitlab-org/gitlab-ce/raw/master/lib/support/nginx/gitlab-ssl

vi /etc/nginx/conf.d/gitlab.conf

mkdir -p /etc/nginx/ssl/
cd /etc/nginx/ssl/
openssl req -newkey rsa: -x509 -nodes -days -out gitlab.crt -keyout gitlab.key
chmod o-r gitlab.key
上一篇:Expression>与Func的区别


下一篇:【Python Lib】解析HTML利器 BeautifulSoup