aboutsummaryrefslogtreecommitdiffstats
path: root/.ht-nginx
diff options
context:
space:
mode:
Diffstat (limited to '.ht-nginx')
-rw-r--r--.ht-nginx2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ht-nginx b/.ht-nginx
index ff6b459..6b97cb8 100644
--- a/.ht-nginx
+++ b/.ht-nginx
@@ -18,7 +18,7 @@ error_page 404 /404.php;
#===============================================================================
# Forbidden directories
#===============================================================================
-location ~ ^/(core|theme/([^/]+)/(html|lang)/) {
+location ~ ^/(.git|core|theme/([^/]+)/(html|lang)/) {
return 403;
}