我已遵循以下所有步驟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)
嘗試使用中給出的解決方案https://stackoverflow.com/questions/59693199/route53-and-cloudfront-the-request-could-not-be-satisfied
這基本上確保您將網域/子網域新增至 Cloudfront 備用網域並檢查 Cloudfront 配置中的 Http 和 Https