1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 12:22:03 +02:00

[ticket/16209] Match exactly "phpbb" in nginx example configuration file

It blocks an image in the ACP.

PHPBB3-16209
This commit is contained in:
Alfredo Ramos 2019-11-11 13:57:22 -06:00 committed by Marc Alexander
parent 1a9ab15f26
commit 225c313bb3
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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.