summaryrefslogtreecommitdiff
path: root/files/conf.d/git.conf
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:28 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:28 -0400
commit807877b736c5f56689229b31024861f19a9b0ac6 (patch)
tree95fed058eaa50765bf486ccc59e46123666acabe /files/conf.d/git.conf
Squashed 'puppet/modules/apache/' content from commit 415e950
git-subtree-dir: puppet/modules/apache git-subtree-split: 415e9504f99dca3ccaa4dfd389dde24ad9d0e01c
Diffstat (limited to 'files/conf.d/git.conf')
-rw-r--r--files/conf.d/git.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/conf.d/git.conf b/files/conf.d/git.conf
new file mode 100644
index 00000000..c03ee2b5
--- /dev/null
+++ b/files/conf.d/git.conf
@@ -0,0 +1,5 @@
+# deny access to git repository folders
+<DirectoryMatch .*\.git/.*>
+ Order allow,deny
+ Deny From All
+</DirectoryMatch>