Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(feature-flags): route local_evaluation to rust in caddy proxy (#61780)

Patricio4af5e547ab71
diff --git a/docker-compose.base.yml b/docker-compose.base.yml
index 1ce3a415d6e0..2a3609a25383 100644
--- a/docker-compose.base.yml
+++ b/docker-compose.base.yml
@@ -62,6 +62,10 @@ services:
path /flags
path /flags/
path /flags/*
+ # Local evaluation (flag definitions) — mirrors cloud Contour routing to Rust
+ path /api/feature_flag/local_evaluation
+ path /api/feature_flag/local_evaluation/
+ path /api/feature_flag/local_evaluation/*
}
@surveys {
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 47ffe3c26547..25022b441cb9 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -66,6 +66,10 @@ services:
@flags {
path /flags
path /flags*
+ # Local evaluation (flag definitions) — mirrors cloud Contour routing to Rust
+ path /api/feature_flag/local_evaluation
+ path /api/feature_flag/local_evaluation/
+ path /api/feature_flag/local_evaluation/*
}
@surveys {
diff --git a/docker-compose.sandbox.yml b/docker-compose.sandbox.yml
index b304994ea64b..15f552006289 100644
--- a/docker-compose.sandbox.yml
+++ b/docker-compose.sandbox.yml
@@ -58,6 +58,10 @@ services:
@flags {
path /flags
path /flags*
+ # Local evaluation (flag definitions) — mirrors cloud Contour routing to Rust
+ path /api/feature_flag/local_evaluation
+ path /api/feature_flag/local_evaluation/
+ path /api/feature_flag/local_evaluation/*
}
@surveys {