If its the muffler hitting the chassis, you need to look down at the brackets that support it, the welds on them may have been gone. This might be a good time for you to get an aftermarket exhaust

. Other than that, I don't see what else there could be thats knocking like that (maybe the trunklid is open?). Something like this would need to be looked at, otherwise its all going to be guesswork. Have it looked at by a mechanic.