cloudpackエバンジェリストの吉田真吾(@yoshidashingo)です。 以下のようにAWSブログでアナウンスがありました。 New Features for Amazon CloudFront: Server Name Indication (SNI) and HTTP Redirection | AWS News Blog 2つ目のほうの機能「HTTP Redirection at the Edge」について早速確認。 S3で静的Webサイトをホスティングする。 以下のようなhtmlファイルをバケットに格納し、静的Webサイトホスティングを有効化。 CloudFrontを設定する。 こんな感じでDistributionを設定↓ アクセスしてみる こんな感じでhttpアクセスしてみると、 ↓↓↓ httpsにリダイレクトされてました。 今回はS3ホスティングで試しましたが、EC
![CloudFrontでhttpリクエストをhttpsにリダイレクトできるようになった - yoshidashingo](https://cdn-ak-scissors.b.st-hatena.com/image/square/06e81a76a2f650fd539e32aab971cfaedac6b5d0/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fy%2Fyoshidashingo%2F20140306%2F20140306140933.png)