我已遵循https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/但我的网站仍然无法使用 https 访问。
但我仍然只能访问http://admin.studentqr.com并不是https://admin.studentqr.com
我还怀念什么吗?
答案1
由于我的域名属于 Wix,因此我需要更新子域名的 CNAME 以指向给定的 *.cloudfront.net而不是我的 S3 存储桶。请等待几分钟,然后如果您在访问您的网站时遇到以下错误
403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
基本上确保你将你的域名/子域名添加到 Cloudfront 备用域名,并在 Cloudfront 配置中检查 Http 和 Https