diff --git a/config/environments/production.rb b/config/environments/production.rb index 63fff61e..f6db2e28 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,7 +93,7 @@ # Enable DNS rebinding protection and other `Host` header attacks. config.hosts = [ - /maslow\..*gov.uk?/, + /maslow\..*\.gov.uk?/, ] # Skip DNS rebinding protection for the default health check endpoint.