Skip to content

Commit 6be28a6

Browse files
committed
Merge branch 'pr-34388' into 2.4-develop-prs
2 parents b54be44 + df78193 commit 6be28a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ gzip_types
242242
gzip_vary on;
243243

244244
# Banned locations (only reached if the earlier PHP entry point regexes don't match)
245-
location ~* (\.php$|\.phtml$|\.htaccess$|\.git) {
245+
location ~* (\.php$|\.phtml$|\.htaccess$|\.htpasswd$|\.git) {
246246
deny all;
247247
}

0 commit comments

Comments
 (0)