nginx not running when https is enabled
Created by: KamiOrz
Running Gitlab 7.1 Omnibus on Ubuntu 12.04 (running on KVM)
Gitlab runs fine on port 80. However when I enable https in /etc/gitlab/gitlab.rb as follows:
external_url 'https://mysiteaddress.com'
nginx['redirect_http_to_https'] = true
nginx fails to start. I get no errors with sudo gitlab-ctl reconfigure however gitlab-ctl status reports:
down: nginx: 0s, normally up, want up; run: log: (pid 1027) 8794s run: postgresql: (pid 932) 8813s; run: log: (pid 931) 8813s run: redis: (pid 826) 8819s; run: log: (pid 825) 8819s run: sidekiq: (pid 17056) 910s; run: log: (pid 1012) 8800s run: unicorn: (pid 17128) 898s; run: log: (pid 990) 8802s
nginx/gitlab_error.log is blank.
Any help is much appreciated. Thanks,