Sha256: 4e326de71b86320359d65fe986428579ae14b009c7b7568e6e2fb4b2d92eef01

Contents?: true

Size: 558 Bytes

Versions: 50

Compression:

Stored size: 558 Bytes

Contents

<header>
  <h1>Blocked hosts: <%= @hosts.join(", ") %></h1>
</header>
<main role="main" id="container">
  <h2>To allow requests to these hosts, make sure they are valid hostnames (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:</h2>
  <pre>
  <% @hosts.each do |host| %>
    config.hosts &lt;&lt; "<%= host %>"
  <% end %>
  </pre>
  <p>For more details view: <a href="https://guides.rubyonrails.org/configuring.html#actiondispatch-hostauthorization">the Host Authorization guide</a></p>
</main>

Version data entries

50 entries across 49 versions & 6 rubygems

Version Path
actionpack-8.0.2 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.0.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.2.2.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.1.5.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.0.8.7 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.0 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.2.2 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.1.5 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.0.rc2 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.2.1.2 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.1.4.2 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.0.8.6 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.0.rc1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.2.1.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.1.4.1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-7.0.8.5 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
actionpack-8.0.0.beta1 lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb