Skip to content

Commit

Permalink
Merge pull request #9560 from alphagov/fix-link-checker-api
Browse files Browse the repository at this point in the history
Fix hosts configuration for Whitehall
  • Loading branch information
ChrisBAshton authored Oct 25, 2024
2 parents 6376f55 + 8943954 commit 2c0bac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
# Enable DNS rebinding protection and other `Host` header attacks.
config.hosts = [
/whitehall-admin\..*\.gov.uk$/,
/^link-checker-api$/,
/^whitehall-admin$/,
]

# Skip DNS rebinding protection for the default health check endpoint.
Expand Down

0 comments on commit 2c0bac2

Please sign in to comment.