Skip to content

Commit c64f28e

Browse files
committed
Fix security issue
1 parent 4b6f0c2 commit c64f28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/cli/templates/locations.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ location ~* ^.+\.(bak|log|old|orig|original|php#|php~|php_bak|save|swo|swp|sql)$
3434
log_not_found off;
3535
}
3636
# Return 403 forbidden for readme.(txt|html) or license.(txt|html) or example.(txt|html)
37-
if ($request_uri ~* "^.+(readme|license|example)\.(txt|html)$") {
37+
if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
3838
return 403;
3939
}
4040
# Status pages

0 commit comments

Comments
 (0)