Merge pull request #42896 from ghiculescu/patch-2
Add more detail about what hosts are allowed
This commit is contained in:
commit
93b3344536
@ -2,6 +2,6 @@
|
||||
<h1>Blocked host: <%= @host %></h1>
|
||||
</header>
|
||||
<main role="main" id="container">
|
||||
<h2>To allow requests to <%= @host %>, add the following to your environment configuration:</h2>
|
||||
<h2>To allow requests to <%= @host %> make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:</h2>
|
||||
<pre>config.hosts << "<%= @host %>"</pre>
|
||||
</main>
|
||||
|
@ -1,5 +1,5 @@
|
||||
Blocked host: <%= @host %>
|
||||
|
||||
To allow requests to <%= @host %>, add the following to your environment configuration:
|
||||
To allow requests to <%= @host %> make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:
|
||||
|
||||
config.hosts << "<%= @host %>"
|
||||
|
Loading…
Reference in New Issue
Block a user