diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-17 22:00:39 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-17 22:00:39 +0200 |
commit | 5555624546ea48d6327700f32b80848e0662dc90 (patch) | |
tree | 47d61fb756a6cb008aaf33586d292fcfe43da2a1 /.ht-nginx | |
parent | 91d8a28c664afa5378735bcd0efe068dd74d589f (diff) | |
parent | 0a2614cb69fc732c2115ef2f0c356f39f602d311 (diff) | |
download | blog-optimization.tar.gz blog-optimization.tar.xz blog-optimization.zip |
Merge branch 'master' into 'optimization'optimization
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 +} |