Green’s Dictionary of Slang

coffin nail n.1

[the assumption that drink, esp. in the outposts of the Empire, was a killer. Folk etymology erroneously links this nail with peg n.4 ; see also nail in one’s coffin under nail n.1 ]

[19C+] a drink.