Definitely Brindisi is the only missable city in Puglia (perhaps along with Taranto). Pretty much a port city to the Greek islands.
Going further south or inland is a guarantee of amazing towns and food. Starting with the gem that is Lecce of course, right in the middle of the two coastlines.