But wait, there's more! There are at least two COX pathways; COX-1 is involved in protection of stomach lining, COX-2 is responsible, in part, for pain signalling.
Aspirin inhibits both pathways. Other NSAIDs do the same, although they typically have less of an effect on COX-1.
There is something on the unnoficial market which may inhibit only COX-2, a sort of holy grail in the last few decades of medicine: kratom[0].