diff options
author | Thomas Lange <code@nerdmind.de> | 2021-08-04 00:19:51 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-08-04 00:22:01 +0200 |
commit | 78dad732e1fd3d4a57f7fa5747624ce0be50d803 (patch) | |
tree | 385e60cc6ad669d99d88ca3f72e3d2263a841bb3 /.ht-nginx | |
parent | 498f8ee11b5d8012c17d8a68ae6b447d07e9a11d (diff) | |
download | blog-78dad732e1fd3d4a57f7fa5747624ce0be50d803.tar.gz blog-78dad732e1fd3d4a57f7fa5747624ce0be50d803.tar.xz blog-78dad732e1fd3d4a57f7fa5747624ce0be50d803.zip |
Add trailing slash to forbidden directory rules
Diffstat (limited to '.ht-nginx')
-rw-r--r-- | .ht-nginx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ error_page 404 /404.php; #=============================================================================== # Forbidden directories #=============================================================================== -location ~ ^/(.git|core|theme/([^/]+)/(html|lang)/) { +location ~ ^/(.git|core|theme/([^/]+)/(html|lang))/ { return 403; } |