What is the meaning of Close_to_the_wind?

Near a limit of feasibility or compliance with law or morality.

Used other than figuratively or idiomatically: see close to, the, wind.

In a direction almost opposite to that from which the wind is blowing.

Near a limit of feasibility or compliance with law or morality.

Used other than figuratively or idiomatically: see close to, the, wind.

Source: wiktionary.org