diff --git a/example.gitignore b/example.gitignore
index e6c2213..d727311 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
@@ -22,7 +22,8 @@ sites/simpletest
 # or delete the previous settings and uncomment the following ones, instead.
 
 # Ignore configuration files that may contain sensitive information.
-# */settings*.php
+# sites/*/*settings*.php
+# sites/*/*services*.yml
 
 # Ignore paths that contain user-generated content.
 # */files
