<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sinsoku</author_name>
  <author_url>https://blog.hatena.ne.jp/sinsoku/</author_url>
  <blog_title>アジャイルSEの憂鬱</blog_title>
  <blog_url>https://sinsoku.hatenablog.com/</blog_url>
  <categories>
    <anon>aws</anon>
    <anon>terraform</anon>
    <anon>rails</anon>
  </categories>
  <description>Route53で取得したカスタムドメインをHerokuで使うためにCloudFrontの設定をしたのでブログに書いておく。 コード例は foo.herokuapp.com で動くアプリケーションを foo-example.com でアクセスできるようにする設定です。 AWS側の設定 CloudFrontで使うacmはvirginiaで作成 ttlは0にしてキャッシュしない /assets や /packs はキャッシュした方が良いけど、まだ未対応 locals { foo_domain = &quot;foo-example.com&quot; foo_origin_id = &quot;foo-heroku&quot; } mod…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2021%2F02%2F09%2F014241&quot; title=&quot;Herokuでカスタムドメイン（ルートドメイン）を使うためにCloudFrontを設定する - アジャイルSEの憂鬱&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-09 01:42:41</published>
  <title>Herokuでカスタムドメイン（ルートドメイン）を使うためにCloudFrontを設定する</title>
  <type>rich</type>
  <url>https://sinsoku.hatenablog.com/entry/2021/02/09/014241</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
