ok it looks like the endpoints are with .php extensions, eg
curl -i -H GET http://localhost/nominatim/lookup.php?osm_ids=N12345
will get you the nominatim response for node 12345. I’ll see if I can add this to the docs as its not immediately obvious