gpt4 book ai didi

amazon-s3 - Cloudfront 使用 307 临时重定向重定向到 S3 端点

转载 作者:行者123 更新时间:2023-12-04 19:51:40 24 4
gpt4 key购买 nike

我正在使用 307 Temporary Redirect 将 Cloudfront 端点重定向到 S3 .发生这种情况有什么原因吗?

我尝试创建网站端点并更改了原点,但没有获得相同结果的运气。

最佳答案

Temporary Request Redirection这实际上是由 S3 存储桶在新创建时的行为方式引起的(感谢@Michael-sqlbot)澄清了这一点。

来自 docs (临时请求重定向)

Due to the distributed nature of Amazon S3, requests can be temporarily routed to the wrong facility. This is most likely to occur immediately after buckets are created or deleted. For example, if you create a new bucket and immediately make a request to the bucket, you might receive a temporary redirect, depending on the location constraint of the bucket.

关于amazon-s3 - Cloudfront 使用 307 临时重定向重定向到 S3 端点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46520566/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com