Skip to content
Snippets Groups Projects
Unverified Commit f09322f9 authored by Jeong Arm's avatar Jeong Arm Committed by GitHub
Browse files

Disable host check on healthcheck path (#16243)

parent 6528f816
No related branches found
No related tags found
No related merge requests found
......@@ -31,5 +31,6 @@ Rails.application.configure do
config.hosts << host if host.present?
config.hosts << web_host if web_host.present?
config.hosts.concat(alternate_domains) if alternate_domains.present?
config.hosts_authorization = { exclude: ->(request) { request.path == '/health' } }
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment