Game 6 of the best-of-seven series will be played Thursday in Denver with the Lakers leading 3-2.
Miller scored 17 of his points in the second half to help the Nuggets hold off a furious Los Angeles rally, led by Kobe Bryant, who scored 14 of his 43 points in the fourth quarter and helped erase a 15-point deficit midway through the final period.
Bryant spent 43 minutes on the court and was 14-of-32 from the field and 10-of-11 from the free throw line.
JaVale McGee, who, like Miller, came in off the bench, scored 21 for Denver. Aaron Afflalo started and tallied 19.