为什么AWS S3redirect显示为302而不是301?

我在S3中使用这个博客post实现了一个301redirect

它明确表示redirect将是一个301,这是我想要的。

元数据的屏幕截图:

在这里输入图像说明

redirect是从http://www.trevormckendrick.com/legal-entity到http://www.zerotoentrepreneur.com/basic-legal-entity-info-start-here/

但是当我curl的第一个url,它出现为302。

此外,Moz显示了两个单独的redirect,一个用于
“ http://www.trevormckendrick.com/legal-entity ”

和另一个
“ http://www.trevormckendrick.com/legal-entity/ ”

(注意string末尾的尾部“/”)。

我错过了什么?

(不知道这是否会影响它,但我刚刚从Github Pages网站移动到AWS昨晚。)

在这里输入图像说明

这在这里的文档中讨论

301redirect正在工作; 但是,在将301redirect到configuration的站点之前,它将redirect到带有前导斜杠的页面