Locate the /etc/gitlab/gitlab.rb file or find the config file by running

find / -type d -iname "gitlab.rb"