From 1f45fc8efb0c686c2bc04d16be58cb57b5b70685 Mon Sep 17 00:00:00 2001 From: OAuthority <123885349+OAuthority@users.noreply.github.com> Date: Sat, 24 Jun 2023 06:20:25 +0100 Subject: [PATCH] Update CNAME You need the location of the bucket as per AWS guidance; without it, when you view an image, it redirects to the S3 domain (which doesn't allow you to use the SSL certificate of your site if using one). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e56662..f0a5053 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Replace `` with the name of your S3 bucket, e.g. `wonderfulbali234`. You can use a domain name for images (for example, `img.mysite.com`). This is needed when you want a CDN (such as CloudFlare) to cache your images. See [https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html Virtual Hosting of Buckets] for details. -1\) At your DNS provider, add a CNAME entry. For example, point `img.mysite.com` to `.s3.amazonaws.com`). +1\) At your DNS provider, add a CNAME entry. For example, point `img.mysite.com` to `.s3..amazonaws.com`). 2\) In LocalSettings.php, set `$wgAWSBucketDomain`. The following values are supported: