Disable host check on healthcheck path (#16243)

th-downstream
Jeong Arm 4 years ago committed by GitHub
parent 311d74fbb2
commit c527f69d2f

@ -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

Loading…
Cancel
Save