From: Grant Slater Date: Tue, 9 May 2023 13:25:29 +0000 (+0100) Subject: dmca: Deny access to .git directory X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c1f9bd14428e5b4f78524150c1d1eece729828f2 dmca: Deny access to .git directory --- diff --git a/cookbooks/dmca/templates/default/apache.erb b/cookbooks/dmca/templates/default/apache.erb index 5b2e320d6..d59bb7e22 100644 --- a/cookbooks/dmca/templates/default/apache.erb +++ b/cookbooks/dmca/templates/default/apache.erb @@ -56,3 +56,7 @@ SetHandler "proxy:unix:/run/php/php-<%= @name %>-fpm.sock|fcgi://127.0.0.1" + + + Require all denied +