From 7d09afb108069b27eb1a9fa4010d3106afd76aab Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Tue, 26 May 2026 08:54:15 -0700 Subject: [PATCH] docs: clarify S3 endpoint URL scheme --- content/docs/configuration/cdn/s3.mdx | 4 ++-- content/docs/configuration/dotenv.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/configuration/cdn/s3.mdx b/content/docs/configuration/cdn/s3.mdx index 59d84dbd2..6c991c046 100644 --- a/content/docs/configuration/cdn/s3.mdx +++ b/content/docs/configuration/cdn/s3.mdx @@ -94,7 +94,7 @@ AWS_ACCESS_KEY_ID=your_access_key_id AWS_SECRET_ACCESS_KEY=your_secret_access_key AWS_REGION=your_selected_region AWS_BUCKET_NAME=your_bucket_name -AWS_ENDPOINT_URL=your_endpoint_url +AWS_ENDPOINT_URL=https://your_endpoint_url # AWS_FORCE_PATH_STYLE=false ``` @@ -102,7 +102,7 @@ AWS_ENDPOINT_URL=your_endpoint_url - **AWS_SECRET_ACCESS_KEY:** Your IAM user's secret key. - **AWS_REGION:** The AWS region where your S3 bucket is located. - **AWS_BUCKET_NAME:** The name of the S3 bucket you created. -- **AWS_ENDPOINT_URL:** (Optional) The custom AWS endpoint URL. Required for S3-compatible services such as MinIO, Cloudflare R2, Hetzner Object Storage, and Backblaze B2. +- **AWS_ENDPOINT_URL:** (Optional) The custom AWS endpoint URL. Required for S3-compatible services such as MinIO, Cloudflare R2, Hetzner Object Storage, Backblaze B2, and IDrive e2. Include the URL scheme, such as `https://a7g8.da.idrivee2-32.com`; values without `http://` or `https://` can cause an `Invalid URL` error when files are streamed. - **AWS_FORCE_PATH_STYLE:** (Optional) Set to `true` for providers that require path-style URLs (`endpoint/bucket/key`) rather than virtual-hosted-style (`bucket.endpoint/key`). Required for Hetzner Object Storage, MinIO, and similar providers whose SSL certificates don't cover bucket subdomains. Not needed for AWS S3 or Cloudflare R2. Default: `false`. If you are using **IRSA** on Kubernetes, you do **not** need to set `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` in your environment. The AWS SDK will automatically obtain temporary credentials via the service account assigned to your pod. Ensure that `AWS_REGION` and `AWS_BUCKET_NAME` are still provided. diff --git a/content/docs/configuration/dotenv.mdx b/content/docs/configuration/dotenv.mdx index fb886c9b5..8e0d3fef9 100644 --- a/content/docs/configuration/dotenv.mdx +++ b/content/docs/configuration/dotenv.mdx @@ -2507,8 +2507,8 @@ See: **[Amazon S3 Configuration](/docs/configuration/cdn/s3)** and **[CloudFront [ 'AWS_ENDPOINT_URL', 'string', - 'Custom AWS endpoint URL (optional). For S3-compatible services.', - '# AWS_ENDPOINT_URL=', + 'Custom AWS endpoint URL (optional). For S3-compatible services. Include the URL scheme, such as https://a7g8.da.idrivee2-32.com.', + '# AWS_ENDPOINT_URL=https://your_endpoint_url', ], [ 'AWS_FORCE_PATH_STYLE',