You want to create a side tension using the chains, not a straight down force that could pull the tractor through the floor boards. So you should hook each chain to the far side of the tractor, relative to where the chain meets the trailer.
IMO forward and back is more important than side to side. If hooking to the far side of the tractor creates a angle to the trailer rail less than 45 degrees I would not recommend it.