各位大大好
系統: CentOS
軟件: Gitlab
報錯畫面:
應該得到的畫面: 沒有危險警訊報錯的畫面
文件:
/etc/gitlab/gitlab.rb
代碼:
nginx['enable'] = true
nginx['redirect_http_to_https'] = true
nginx['redirect_http_to_https_port'] = 80
nginx['ssl_certificate'] = "/etc/gitlab/ssl/mycert.crt"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/mycert.key"