<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>donbulinux</author_name>
  <author_url>https://blog.hatena.ne.jp/donbulinux/</author_url>
  <blog_title>AR ホームベーカリー</blog_title>
  <blog_url>https://donbulinux.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>はえーこんなのあるんですね、単体アプリケーションで複数ドメインを持つ環境の運用してないから知らなかった。 以下を追記することで Blocked Host エラーの元になる制限を削除できる。 ${RAILS_ROOT}/config/environments/development.rb Rails.application.configure do config.hosts.clear end まず development を外部に露出するな という話は一理ある。 全部削除はちょっと、という感じであれば config.hosts &lt;&lt; &quot;example.com&quot; のようにすれば、既存の制限にドメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2022%2F05%2F23%2F215119&quot; title=&quot;Rails の Blocked Host エラー - AR ホームベーカリー&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>2022-05-23 21:51:19</published>
  <title>Rails の Blocked Host エラー</title>
  <type>rich</type>
  <url>https://donbulinux.hatenablog.jp/entry/2022/05/23/215119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
