What is the meaning of Bagnio?

A brothel.

A building for bathing, sweating.

In Turkey, a prison for slaves.

Source: wiktionary.org