diff --git a/example.gitignore b/example.gitignore
index e6c2213..d6a3b0d 100644
--- a/example.gitignore
+++ b/example.gitignore
@@ -8,8 +8,8 @@
 # name; updating Drupal core will not override your custom .gitignore file.
 
 # Ignore configuration files that may contain sensitive information.
-sites/*/settings*.php
-sites/*/services*.yml
+sites/*/*settings*.php
+sites/*/*services*.yml
 
 # Ignore paths that contain user-generated content.
 sites/*/files
