From 0bcb9829ab348739011b4859c60df6ae78c88515 Mon Sep 17 00:00:00 2001 From: Jeff Linwood Date: Tue, 6 Jun 2023 15:20:16 -0500 Subject: [PATCH] Disable host authorization for the health check --- config/environments/production.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index db7560d..16c7708 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -157,6 +157,5 @@ # If you need to customize your application's configuration, this is the place to do it. This helps avoid merge # conflicts in the future when Rails or Bullet Train update their own default settings. config.hosts << ".cloudfront.net" - config.hosts << "10.192.11.240" - + config.host_authorization = { exclude: ->(request) { request.path == '/' } } end