Site configuration

Sourcegraph is configured by a site configuration JSON file.

To view and edit your site configuration on your Sourcegraph instance:

  1. Click on the user menu (with your username or avatar) in the top navigation bar.
  2. Select Site admin.
  3. In the left-hand navigation menu, select Configuration.

The URL is

For Kubernetes cluster deployments of Sourcegraph, edit the config-file.ConfigMap.yaml file and then use kubectl apply -f ... to update the resource.

Next steps

See all site configuration options, or read walkthroughs of common configuration use cases: