diff --git a/.dir-locals.el b/.dir-locals-template.el
similarity index 100%
rename from .dir-locals.el
rename to .dir-locals-template.el
diff --git a/.gitignore b/.gitignore
index f50a65be0..47ad50ac9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ gh-pages/
 .idea/
 
 searx/version_frozen.py
+.dir-locals.el
\ No newline at end of file