Skip to content

Commit

Permalink
try to allow monitors/lb without host_authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewroth committed Dec 10, 2024
1 parent 491b594 commit 8cbd5b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"familylife-gift-cards-stage.cru.org",
IPAddr.new("10.0.0.0/8"),
]

# Skip DNS rebinding protection for the default health check endpoint.
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
config.host_authorization = { exclude: ->(request) { request.path == "/monitors/lb" } }
end

0 comments on commit 8cbd5b5

Please sign in to comment.