1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 20:32:11 +02:00

Merge pull request #5786 from marc1706/ticket/16209

[ticket/16209] Match exactly "phpbb" in nginx example configuration file
This commit is contained in:
Marc Alexander 2019-12-24 22:58:07 +01:00
commit e880d2c12a
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.