When making changes to the config file (gitlab.rb), run the reconfiguration command to apply the changes
gitlab.rb
gitlab-ctl reconfigure
To restart all GL components or specific components
gitlab-ctl restart gitlab-ctl restart nginx