summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/files/conf.d/git.conf
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apache/files/conf.d/git.conf')
m---------puppet/modules/apache0
-rw-r--r--puppet/modules/apache/files/conf.d/git.conf5
2 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/apache b/puppet/modules/apache
deleted file mode 160000
-Subproject 117bed9a9263c21d253d86b667eb165948efdc2
diff --git a/puppet/modules/apache/files/conf.d/git.conf b/puppet/modules/apache/files/conf.d/git.conf
new file mode 100644
index 00000000..c03ee2b5
--- /dev/null
+++ b/puppet/modules/apache/files/conf.d/git.conf
@@ -0,0 +1,5 @@
+# deny access to git repository folders
+<DirectoryMatch .*\.git/.*>
+ Order allow,deny
+ Deny From All
+</DirectoryMatch>