Hello everybody!

In the following quotation, the origin of which I think some you will remember, I don't understand the meaning of the word "hard":
«Hard by a great forest dwelt a poor wood-cutter with his wife and his two children»

'Hard by' means very near.
So, "hard" modifies "by", amplifies it. Thanks.