Skip to content

Commit

Permalink
Disable host authorization for the health check
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflinwood committed Jun 6, 2023
1 parent 566bfcd commit 0bcb982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0bcb982

Please sign in to comment.