1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-23 03:25:18 +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

View File

@ -70,7 +70,7 @@ http {
} }
# Deny access to internal phpbb files. # 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 all;
# deny was ignored before 0.8.40 for connections over IPv6. # deny was ignored before 0.8.40 for connections over IPv6.
# Use internal directive to prohibit access on older versions. # Use internal directive to prohibit access on older versions.