ssl - Can't stop Gitlab's built-in Nginx -


i'm using gitlabs latest omnibus-package on ec2 ubuntu machine.

to refresh ssl certificate (issued via let's encrypt) need stop gitlab's nginx let's encrypt can verify possess domain. therefore hit sudo gitlab-ctl stop.

the sudo gitlab-ctl status afterwards is:

down: gitlab-workhorse: 325s, up; run: log: (pid 1109) 5361843s down: logrotate: 324s, up; run: log: (pid 1104) 5361843s down: nginx: 324s, up; run: log: (pid 1103) 5361843s down: postgresql: 324s, up; run: log: (pid 1101) 5361843s down: redis: 323s, up; run: log: (pid 1102) 5361843s down: sidekiq: 322s, up; run: log: (pid 1112) 5361842s down: unicorn: 322s, up; run: log: (pid 1100) 5361843s 

however when access domain nginx' 502 bad gateway.

how can stop internal nginx.

besides certificate part etc/nginx/gitlab.rb still default.

here's output of ps -eaf|grep -i nginx

root      1091   985  0  2015 ?        00:07:15 runsv nginx root      1103  1091  0  2015 ?        00:04:14 svlogd -tt /var/log/gitlab/nginx gitlab-+ 24669     1  0  2015 ?        01:03:38 nginx: worker process root     27272  1091  0 13:12 ?        00:00:00 /opt/gitlab/embedded/sbin/nginx -p /var/opt/gitlab/nginx ubuntu   27275 27254  0 13:12 pts/2    00:00:00 grep --color=auto -i nginx 


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -