Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detail about what hosts are allowed #42896

Merged
merged 1 commit into from Jul 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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 &lt;&lt; "<%= @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:
ghiculescu marked this conversation as resolved.
Show resolved Hide resolved

config.hosts << "<%= @host %>"