UPDATE
一部仕様:bucket.name.s3-website-us-east-1.amazonaws.com
:AWS Cloudfrontコンソールの「Origin Protocol Policy」フィールドはどこにありますか?
CloudFrontの分布のようなものに見えるS3静的なウェブサイトのホスティングエンドポイントを使用しています。
これは実際のウェブサイトにリダイレクトされます。このhttp://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html?shortFooter=true#DownloadDistValuesOriginProtocolPolicyによる
:
Origin Protocol Policy (Amazon EC2, Elastic Load Balancing, and Other Custom Origins Only)
The protocol policy that you want CloudFront to use when fetching objects from your origin server.
Important
If your Amazon S3 bucket is configured as a website endpoint, you must specify HTTP Only. Amazon S3 doesn't support HTTPS connections in that configuration.
あなたが唯一のHTTP Only
を持つことができるようです。あれは正しいですか? HTTPS Only
またはMatch Viewer
と指定する必要はありませんか?
私はMatch Viewer
が可能であると思われるブログを見たので、私は尋ねています。例えば。
https://simonecarletti.com/blog/2016/08/redirect-domain-https-amazon-cloudfront/
https://karelledru.com/2016/06/static-site-hosting-on-S3-and-CloudFront/
The value of the Origin Protocol Policy field in the CloudFront console or,
if you're using the CloudFront API, the OriginProtocolPolicy element in the
DistributionConfig complex type. In the CloudFront console, the options are
HTTP Only, HTTPS Only, and Match Viewer.
を言いますが、私は、コンソールでOrigin Protocol Policy
フィールドが表示されません。
このガイドは、https://simonecarletti.com/blog/2016/08/redirect-domain-https-amazon-cloudfront/で、S3原点のオプションとしてMatch Viewerを示しています。 – Snowcrash
ありがとうございます。更新しました。 –
したがって、「カスタム起源」であっても、S3静的ウェブサイトエンドポイントを使用するCloudFrontディストリビューションに対してHTTPS OnlyまたはMatch Viewerを使用することはできません。 – Snowcrash