Blocked host: <%= @host %> To allow requests to <%= @host %>, add the following configuration: Rails.application.config.hosts << "<%= @host %>"