Green’s Dictionary of Slang

nanny n.1

also nannie
[generic use of female proper name]

a female or homosexual prostitute.

‘The Martin and the Oyster’ in 18C Collections Online n.p.: You Jade said he, behold my Bill, / See how erect it stands [...] Nanny feel It; squeeze It; – Warm your Hands.
[UK]‘Jon Bee’ Living Picture of London 159: A soldier [...] whose nickname Nancy Cooper designated his character [...] was hanged at Newgate-door [...] that which conferred upon him his Nanny-title, as well as that which cost him his last fling; but by his demand for hush-money, he flung his life away.
[UK]Barrère & Leland Dict. of Sl., Jargon and Cant.
[UK]Farmer & Henley Sl. and Its Analogues.
[Scot]T. Black Gutted 228: ‘You for a ride? Only top nanny, mind’.

In compounds

nanny-house (n.) [house n.1 (1)]

a brothel.

‘Answer to the Poor Whore’s Complaint’ [broadsheet ballad] From Fleet-street to the Tower, in all the Nanny-housen, There’s common Cracks ... Full five and fifty Thousand.
[UK]B.E. Dict. Canting Crew n.p.: Nanny-house a Bawdy-house.
Devil and the Strumpet 3: 20 young Virgins, whose Maiden-heads rais’d her such vast Contribition Money, that she soon set up for her self an invincible Nanny-house.
[UK]New Canting Dict. [as cit. c.1698].
[UK]Bailey Universal Etym. Eng. Dict. [as cit. c.1698].
[UK]Grose Classical Dict. of the Vulgar Tongue.
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.
J.T. Brockett Gloss. N. Country Words 146: Nanny-house, Nanny-shop, a brothel. Newcastle.
[UK]M. Scott Cruise of the Midge II 234: A nest of nanny houses, as they are called, inhabited by brown free people.
[UK]New Sprees of London 35: Shire-lane, Strand. There were a number of Nanny-houses here, but only two are remaining, the others are all tenantless, and decorated with padlocks.
nanny-shop (n.) [shop n.1 (3)]

a brothel.

see nanny-house
[UK]Sherborne Mercury 31 Aug. 2/7: He keeps a nanny-shop — a public house — a house of ill-fame.
[UK]Preston Chron. 18 Dec. 6/4: He had kept a house in Queen-street [...] He did not keep a ‘nanny-shop’ at any rate.
[UK]Hotten Sl. Dict.
[UK]Sl. Dict.
[UK]Derby Mercury 6 July 7/5: He shouted out that the Coffee House was notjhing but a ‘Nanny shop and that Mr Jones ought to be driven out of town.
[Aus]Sydney Sl. Dict. (2 edn) 6: Nanny Shop - A disreputable house. A ‘crib’.
[UK]Reynold’s Newspaper (London) 12 Dec. 2/2: Down on her luck, s’pose. The nanny-shop’s cross, and she’ll cut up didoes.
[Aus]C. Crowe Aus. Sl. Dict. 52: Nanny Shop, a disreputable house.
[UK]Farmer Vocabula Amatoria (1966) 33: Bazar, m. A brothel; ‘a nanny-shop’.
[US]D. Maurer ‘Prostitutes and Criminal Argots’ in Lang. Und. (1981) 117/1: bull pen. A cheap house. Also cathouse, hook-shop, nanny-shop, nautch house.