From 1253d9e667bba34a4becdee4c50e5d123da87de2 Mon Sep 17 00:00:00 2001 From: Lyn Nagara Date: Tue, 19 May 2026 12:55:32 -0700 Subject: [PATCH] proxy: Fix paths on proxy configuration sentry api paths are prefixed with /api/0/.. this was missing in an earlier version of the configuration so nothing was proxied --- devservices/proxy.yaml | 2 +- example_config_proxy.yaml | 4 ++-- proxy/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devservices/proxy.yaml b/devservices/proxy.yaml index dcf1c4c..2cdd70f 100644 --- a/devservices/proxy.yaml +++ b/devservices/proxy.yaml @@ -24,7 +24,7 @@ proxy: routes: - match: host: localhost - path: /organizations/{organization}/* + path: /api/0/organizations/{organization}/* action: resolver: cell_from_organization cell_to_upstream: diff --git a/example_config_proxy.yaml b/example_config_proxy.yaml index b8dc2ff..a8c3fca 100644 --- a/example_config_proxy.yaml +++ b/example_config_proxy.yaml @@ -37,7 +37,7 @@ proxy: routes: - match: host: us.sentry.io - path: /organizations/{organization}/* + path: /api/0/organizations/{organization}/* action: resolver: cell_from_organization cell_to_upstream: @@ -46,7 +46,7 @@ proxy: default: us1-getsentry - match: host: us.sentry.io - path: /cell/{cell_id}/* + path: /api/0/cell/{cell_id}/* action: resolver: cell_from_id cell_to_upstream: diff --git a/proxy/README.md b/proxy/README.md index 6aef409..d220b4c 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -40,7 +40,7 @@ Routes are matched top down in the order they are defined. For each incoming req ```yaml - match: host: us.sentry.io # matches us.sentry.io only - path: /organizations/{organization_id_or_slug}/* # with {organization_id_or_slug} dynamic segment and trailing wildcard + path: /api/0/organizations/{organization_id_or_slug}/* # with {organization_id_or_slug} dynamic segment and trailing wildcard ``` ### Route actions