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