aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-24 22:58:07 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-24 22:58:07 +0100
commite880d2c12a9b3921177106463e786e18e186430a (patch)
treeaba64971a00278c5cb916534ce87e756f44cfff6 /phpBB
parent8fe5063a356e2c08988106518780f4b730f01d1b (diff)
parent225c313bb3782b61e423ef976b3f6fccab258ee8 (diff)
downloadforums-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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/docs/nginx.sample.conf2
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.