From 91ebc8d3edf71a90308c4e8a8dc0519d283304ca Mon Sep 17 00:00:00 2001 From: infra Date: Wed, 11 Jun 2025 11:19:40 -0400 Subject: [PATCH] docs: add mount prefix environment variable --- docs/docs/cloud/reference/env_var.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/cloud/reference/env_var.md b/docs/docs/cloud/reference/env_var.md index 0b94c04ad..8a9daaa02 100644 --- a/docs/docs/cloud/reference/env_var.md +++ b/docs/docs/cloud/reference/env_var.md @@ -123,3 +123,12 @@ Defaults to `''`. Set `REDIS_CLUSTER` to `True` to enable Redis Cluster mode. When enabled, the system will connect to Redis using cluster mode. This is useful when connecting to a Redis Cluster deployment. Defaults to `False`. + +## `MOUNT_PREFIX` + +!!! info "Only Allowed in Self-Hosted Deployments" + The `MOUNT_PREFIX` environment variable is only allowed in Self-Hosted Deployment models, LangGraph Platform SaaS will not allow this environment variable. + +Set `MOUNT_PREFIX` to serve the LangGraph Server under a specific path prefix. This is useful for deployments where the server is behind a reverse proxy or load balancer that requires a specific path prefix. + +For example, if the server is to be served under `https://example.com/langgraph`, set `MOUNT_PREFIX` to `/langgraph`.