Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: add request_allow_x_forwarded_path to fix tus in self-hosted (#40500)

Andrey A.6a18e493b7ab
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 3ac053a9379..c191b2fb6a9 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -273,6 +273,7 @@ services:
POSTGREST_URL: http://rest:3000
PGRST_JWT_SECRET: ${JWT_SECRET}
DATABASE_URL: postgres://supabase_storage_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
+ REQUEST_ALLOW_X_FORWARDED_PATH: "true"
FILE_SIZE_LIMIT: 52428800
STORAGE_BACKEND: file
FILE_STORAGE_BACKEND_PATH: /var/lib/storage