summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/conf-available
diff options
context:
space:
mode:
Diffstat (limited to 'debian/config-dir/conf-available')
-rw-r--r--debian/config-dir/conf-available/no-git.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/config-dir/conf-available/no-git.conf b/debian/config-dir/conf-available/no-git.conf
new file mode 100644
index 0000000..5ff3299
--- /dev/null
+++ b/debian/config-dir/conf-available/no-git.conf
@@ -0,0 +1,5 @@
+# /etc/apache2/conf-available/no-git.conf
+
+<DirectoryMatch "^/.*/\.git*">
+ Require all denied
+</DirectoryMatch>