Merge pull request #13298 from pointout/patch-3

dots in bucket names
This commit is contained in:
Alexandre BODIN 2022-05-20 17:35:37 +02:00 committed by GitHub
commit 0528aa29db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,6 +96,7 @@ module.exports = [
// ...
];
```
If you use dots in your bucket name, the url of the ressource is in directory style (`s3.yourRegion.amazonaws.com/your.bucket.name/image.jpg`) instead of `yourBucketName.s3.yourRegion.amazonaws.com/image.jpg`. Then only add `s3.yourRegion.amazonaws.com` to img-src and media-src directives.
## Required AWS Policy Actions