A bushfire has put residents of an outback town on alert with the blaze burning only two kilometres away from the local pub.