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