This commit is contained in:
2024-11-23 19:32:19 -05:00
parent 7bbeb8ebc4
commit 03d47b5b5a
6 changed files with 9 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ Rails.application.configure do
# Enable DNS rebinding protection and other `Host` header attacks.
config.hosts = [
"wedding.fixergrid.net", # Allow requests from example.com
"wedding.fixergrid.net"
]
# Skip DNS rebinding protection for the default health check endpoint.
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }