diff options
author | 2019-11-11 13:57:22 -0600 | |
---|---|---|
committer | 2019-12-24 15:55:53 +0100 | |
commit | 225c313bb3782b61e423ef976b3f6fccab258ee8 (patch) | |
tree | e6e8a986ac1de0fa48a01f5f4ffde25c97be1e30 /phpBB | |
parent | Merge pull request #5777 from KYPREO/ticket/16258 (diff) | |
download | phpbb-225c313bb3782b61e423ef976b3f6fccab258ee8.tar.gz phpbb-225c313bb3782b61e423ef976b3f6fccab258ee8.tar.bz2 phpbb-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')
-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. |