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
相关文章
- 02-14nginx 配置ssl
- 02-14在Apache服务器上安装SSL证书
- 02-14HTTPS/SSL证书部署安装教程
- 02-14为服务器设置SSL证书,配置Https协议
- 02-14Godaddy ssl证书配置到nginx
- 02-14苹果iphone如何开启SSL监控,IOS怎样安装ca证书
- 02-14群晖开启https ssl证书获取及安装
- 02-14python – GEvent PyWSGI SSL非常慢
- 02-14windows anaconda python3.7 import ssl,psycopg2报错
- 02-14Windows服务器nginx多个二级域名部署ssl证书超详细步骤(https)