Skip to content

Geo: Add internal API endpoint `/api/v4/geo/proxy` for Geo secondaries

  • Add internal API endpoint /api/v4/geo/proxy which Workhorse can use to ask "Am I in a secondary site, and if so, what's the primary internal URL that I should proxy to?".
  • Add the endpoint to FOSS (returning empty) and extend in EE? Instead of e.g. making Workhorse not call it in GitLab FOSS.
  • Introduce feature flag geo_secondary_proxy which is disabled by default. And when disabled, makes this endpoint return no/empty data.
Edited by Michael Kozono