Setting the URL

It is highly recommended that you do NOT make any of the nodes running Sourcegraph directly accessible to the Internet. Instead, configure an Internet Gateway or equivalent to forward traffic to httpNodePort or httpsNodePort on any of the nodes in your cluster.

When that is done, update your DNS records to point to your gateway’s external IP, and change the following line in your critical configuration:

{
  // ...
  "externalURL": "https://domain.example.com"
  // ...
}