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
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.