How can I restart bundle nginx in gitlab separately?

前端 未结 3 1076
旧时难觅i
旧时难觅i 2020-12-05 18:36

I have installed Gitlab CE version. I can find nginx bundled in Gitlab. However I cannot find a way to restart nginx separately. I have tried sudo service nginx restar

3条回答
  •  一整个雨季
    2020-12-05 19:02

    To restart only one component of GitLab Omnibus you can execute sudo gitlab-ctl restart . Therefore, to restart Nginx:

    sudo gitlab-ctl restart nginx

    As a further note, this same concept is possible with nearly all of the gitlab-ctl commands. For example, sudo gitlab-ctl tail allows you to see all GitLab logs. Applying this concept, sudo gitlab-ctl tail nginx will tail only Nginx logs.

提交回复
热议问题