From 567487a87cbe19f9a728020066ed6191afa1f970 Mon Sep 17 00:00:00 2001 From: Sathish Date: Tue, 4 Aug 2026 16:12:43 +0530 Subject: [PATCH] docs(env): document S3_PUBLIC_ENDPOINT and the /s3 path-prefix behaviour Follow-up to 4df4d8c, which added the variable. Keeps .env.example an accurate configuration contract. Co-Authored-By: Claude Opus 5 (1M context) --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index e870136..6c2a48f 100644 --- a/.env.example +++ b/.env.example @@ -58,7 +58,12 @@ AWS_S3_BUCKET=your-s3-bucket-name S3_FOLDER_PREFIX=development # Root folder for all uploads (e.g., 'development', 'staging', 'production') # Custom endpoint for S3-compatible storage (DigitalOcean Spaces, MinIO, # Contabo). Leave blank for real AWS S3. +# If it ends in /s3 (MinIO behind an nginx path prefix), the SDK signs against +# the host root and browser-facing URLs keep the /s3 prefix. S3_ENDPOINT= +# Public base for browser-facing URLs when it differs from the signing +# endpoint. Defaults to S3_ENDPOINT. +S3_PUBLIC_ENDPOINT= # Email (REQUIRED — boot fails without it) # The app POSTs JSON to this endpoint to send all transactional email.