docs: fix CloudFront Origin Path guidance for S3 driver

Signed-off-by: Vedant Madane <vedantnm@gmail.com>
This commit is contained in:
Vedant Madane committed 2026-08-18 21:59:27 +05:30
1 parent 4f6036efc8
commit c9f5a970c3
1 file changed
+5 -3
+5 -3
View File
@@ -146,9 +146,11 @@ Defaults can be kept in most areas except:
### Origin:
- The CloudFront distribution must be created such that the `Origin Path` is set
to the directory level of the root "docker" key in S3. If your registry exists
on the root of the bucket, this path should be left blank.
- Leave the CloudFront `Origin Path` empty. The registry generates fully
qualified redirect URLs for clients that already include any storage
`rootdirectory` prefix. Setting `Origin Path` to a non-empty value (for
example to match `rootdirectory` or a top-level `docker/` key in the bucket)
double-prefixes object keys and causes pull failures.
- For private S3 buckets, you must set `Restrict Bucket Access` to `Yes`. See
the [CloudFront documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html).