我有一個Omnibus gitlab安裝程序。我正在嘗試設置帶有自簽名證書的HTTPS網址。我使用Ubuntu 14.04作爲我的主機操作系統。步驟即時通訊以下是:爲Ominbus安裝程序啓用GitLab Community Edition的HTTPS自簽名證書
修改gitlab.rb
external_url 'https://gitlab.example.com'
nginx['redirect_http_to_https'] = true
創建自適當名稱簽名的證書,並將其放置在/ etc許可600
-rw------- 1 root root 1289 Sep 5 08:38 gitlab.example.com.crt
-rw------- 1 root root 1679 Sep 5 08:38 gitlab.example.com.key
/gitlab/SSL然後我做了gitlab重新配置並重新啓動。
因此,當我嘗試新的URL:https://gitlab.example.com
該頁面無法加載。
端口443默認打開,我可以netcap相同。
我下面這個博客設置 - GitLab HTTPS with selfsigned
我沒有看到在/ var任何錯誤/日誌/ gitlab
是否有自簽名證書所需的任何額外的nginx的配置?
有人可以讓我知道我應該找什麼日誌,我是否錯過了任何步驟。?
爲什麼不使用有效的證書,例如從letsencrypt.com? – Tom