The result takes Real within three points of leaders Atletico Madrid.
Nacho said, “This is definitely our best spell of the season. We've put together a long run of good wins and draws. We go into the final stretch full of confidence, but that's football. You have to keep working hard. The important thing is that we go into the international break with another win.
"The team is in great shape. We've won some really important games, like the one today.
"As we always say, we have to take each game at a time and work hard every day."