<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cloudfish</author_name>
  <author_url>https://blog.hatena.ne.jp/cloudfish/</author_url>
  <blog_title>cloudfishのブログ</blog_title>
  <blog_url>https://cloudfish.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>httpでのアクセスをhttpsにリダイレクトしたいシーンがあると思いますが、AWSなどの環境上で構成を意識せずApacheなどのWebサーバにリダイレクト設定をしてしまうと意図せずリダイレクトループを起こしてしまうことがあります。 今回はhttpでのアクセスをhttpsにリダイレクトした際に起こりやすいリダイレクトループとなる状態を意図的に作ってみたいと思います。 １．環境の準備 下記の構成でサーバを準備します。詳細な設定方法は省略。 [構成図] ① ELB ポートの設定 ８０ → ８０ ４４３ → ８０ SSL通信用に自己署名証明書を組み込んでおいてください。 ②EC２インスタンス Apa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcloudfish.hatenablog.com%2Fentry%2F2015%2F08%2F30%2F184458&quot; title=&quot;ELBとHTTPSとリダイレクトループ【cloudpack 大阪 BLOG】 - cloudfishのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/c/cloudfish/20150829/20150829123348.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-30 18:44:58</published>
  <title>ELBとHTTPSとリダイレクトループ【cloudpack 大阪 BLOG】</title>
  <type>rich</type>
  <url>https://cloudfish.hatenablog.com/entry/2015/08/30/184458</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
