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