黒田 努. Ruby on Rails 6 実践ガイド
3.5.5節 ブラウザで「http://example.com:3000/」を確認したところ、エラーで"add the following to your environment configuration"が表示された。
blocked_hosts.rbファイルの置き場所が間違っており、/app/configでなく/app/assets/configに配置していた。