Skip to content

Commit 7eabb87

Browse files
Merge pull request #51 from DamianMac/patch-1
Provide extra clarification on mapping S3 buckets
2 parents 6c862c3 + d556259 commit 7eabb87

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/imagesharp.web/imageproviders.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,7 @@ Once installed the cache @SixLabors.ImageSharp.Web.Providers.AWS.AWSS3StorageIma
121121
Url requests are matched in accordance to the following rule:
122122

123123
```bash
124-
/{BUCKET_NAME}/{OBJECT_FILENAME}
125-
```
124+
/{AWS_BUCKET_NAME}/{OBJECT_FILENAME}
125+
```
126+
127+
Which is to say that the AWS S3 bucket name must appear in the Url so it can be matched with the correct S3 configuration. If you wished to override this and provide a deafult, this can be done using [URL Rewriting middleware](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/url-rewriting?view=aspnetcore-6.0).

0 commit comments

Comments
 (0)