diff options
author | Alfredo Ramos <alfredo.ramos.sanchez@gmail.com> | 2019-11-11 13:57:22 -0600 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-12-24 15:55:53 +0100 |
commit | 225c313bb3782b61e423ef976b3f6fccab258ee8 (patch) | |
tree | e6e8a986ac1de0fa48a01f5f4ffde25c97be1e30 /phpBB/docs | |
parent | 1a9ab15f26e95c73e8ea94b866a97ee314b2b37e (diff) | |
download | forums-225c313bb3782b61e423ef976b3f6fccab258ee8.tar forums-225c313bb3782b61e423ef976b3f6fccab258ee8.tar.gz forums-225c313bb3782b61e423ef976b3f6fccab258ee8.tar.bz2 forums-225c313bb3782b61e423ef976b3f6fccab258ee8.tar.xz forums-225c313bb3782b61e423ef976b3f6fccab258ee8.zip |
[ticket/16209] Match exactly "phpbb" in nginx example configuration file
It blocks an image in the ACP.
PHPBB3-16209
Diffstat (limited to 'phpBB/docs')
-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. |