diff options
Diffstat (limited to '.ht-nginx')
-rw-r--r-- | .ht-nginx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ error_page 404 /404.php; #=============================================================================== # Forbidden directories #=============================================================================== -location ~ ^/(core|template/([^/]+)/(html|lang)/) { +location ~ ^/(.git|core|theme/([^/]+)/(html|lang)/) { return 403; } @@ -27,4 +27,4 @@ location ~ ^/(core|template/([^/]+)/(html|lang)/) { #=============================================================================== if (!-e $request_filename) { rewrite ^(.*)$ /index.php break; -}
\ No newline at end of file +} |