Location of Robots.txt

Hello!

Im trying to find the exact location of robots.txt so I can edit it. The problem is that the only location i find in the documentation is /etc/gitlab/ which is where gitlab.rb is.

Where is the actual robots.txt hosted? What file location?

Thanks!

I realize this is an old thread, however if the answer would have been here it would have saved me much time searching. I found where the robots.txt file is located. I have GitLab EE installed (v10.2.4-ee) on an Ubuntu 16.04 machine. For me the robots.txt file was located here:

/opt/gitlab/embedded/service/gitlab-rails/public/robots.txt

Hopefully this helps someone!

2 Likes