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:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key chmod o-r gitlab.key
时间: 2024-10-14 09:33:03