Following the recent investigations of Baik and Suidan in [Int. Math. Res. Not. (2005) 325–337] and Bodineau and Martin in [Electron. Commun. Probab. 10 (2005) 105–112 (electronic)], we prove large deviation properties for a last-passage percolation model in ℤ+2 whose paths are close to the axis. The results are mainly obtained when the random weights are Gaussian or have a finite moment-generating function and rely, as in [J. Baik and T.M. Suidan, Int. Math. Res. Not. (2005) 325–337] and [T. Bodineau and J. Martin, Electron. Commun. Probab. 10 (2005) 105–112 (electronic)], on an embedding in Brownian paths and the KMT approximation. The study of the subexponential case completes the exposition.