diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-12-24 22:58:07 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-12-24 22:58:07 +0100 |
commit | e880d2c12a9b3921177106463e786e18e186430a (patch) | |
tree | aba64971a00278c5cb916534ce87e756f44cfff6 | |
parent | 8fe5063a356e2c08988106518780f4b730f01d1b (diff) | |
parent | 225c313bb3782b61e423ef976b3f6fccab258ee8 (diff) | |
download | forums-e880d2c12a9b3921177106463e786e18e186430a.tar forums-e880d2c12a9b3921177106463e786e18e186430a.tar.gz forums-e880d2c12a9b3921177106463e786e18e186430a.tar.bz2 forums-e880d2c12a9b3921177106463e786e18e186430a.tar.xz forums-e880d2c12a9b3921177106463e786e18e186430a.zip |
Merge pull request #5786 from marc1706/ticket/16209
[ticket/16209] Match exactly "phpbb" in nginx example configuration file
-rw-r--r-- | phpBB/docs/nginx.sample.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/docs/nginx.sample.conf b/phpBB/docs/nginx.sample.conf index 848998cfeb..c5a9472a1c 100644 --- a/phpBB/docs/nginx.sample.conf +++ b/phpBB/docs/nginx.sample.conf @@ -70,7 +70,7 @@ http { } # Deny access to internal phpbb files. - location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|(?<!ext/)phpbb|store|vendor) { + location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|(?<!ext/)phpbb(?!\w+)|store|vendor) { deny all; # deny was ignored before 0.8.40 for connections over IPv6. # Use internal directive to prohibit access on older versions. |