diff options
Diffstat (limited to '.ht-nginx')
-rw-r--r-- | .ht-nginx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ error_page 404 /404.php; #=============================================================================== # Forbidden directories #=============================================================================== -location ~ ^/(core|theme/([^/]+)/(html|lang)/) { +location ~ ^/(.git|core|theme/([^/]+)/(html|lang)/) { return 403; } |