up the wind
In the direction from which the wind is blowing. Chiefly a nautical phrase. We'll have to sail up the wind to reach that part of the shore, so it could be a bit treacherous.
up the wind
Nautical In a direction opposite or nearly opposite the wind.