Google Front End (GFE) is reverse-proxy frontend service provided by GCP. The Core Services team operates and maintains the GFE instances that front Sourcegraph.com and various internal services.
Each GFE instance consists of two environments:
sourcegraph/infrastructure/gfe/envs/qa/project
sourcegraph/infrastructure/gfe/envs/prod/project
Two types of URL mapping semantics are currently supported:
[](data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ib2N0aWNvbiBvY3RpY29uLWluZm8gbXItMiIgdmlld2JveD0iMCAwIDE2IDE2IiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgYXJpYS1oaWRkZW49InRydWUiPjxwYXRoIGQ9Ik0wIDhhOCA4IDAgMSAxIDE2IDBBOCA4IDAgMCAxIDAgOFptOC02LjVhNi41IDYuNSAwIDEgMCAwIDEzIDYuNSA2LjUgMCAwIDAgMC0xM1pNNi41IDcuNzVBLjc1Ljc1IDAgMCAxIDcuMjUgN2gxYS43NS43NSAwIDAgMSAuNzUuNzV2Mi43NWguMjVhLjc1Ljc1IDAgMCAxIDAgMS41aC0yYS43NS43NSAwIDAgMSAwLTEuNWguMjV2LTJoLS4yNWEuNzUuNzUgMCAwIDEtLjc1LS43NVpNOCA2YTEgMSAwIDEgMSAwLTIgMSAxIDAgMCAxIDAgMloiIC8+PC9zdmc+)
This GFE instance is coming out of the proposal in the RFC 857 PRIVATE.
The Sourcegraph.com GFE transparently proxying traffic to Marketing site Netlify deployment, Sourcegraph Docs v2 Vercel deployment and Community Code Search deployment:
Proxy routing is based on the URL mapping (routes.tf
):
marketing_pages
specifies exact URL matches.marketing_folders
specifies prefix URL matches.Environments setup:
envs/qa/project/routes.tf
envs/prod/project/routes.tf