usually 12 to 16 inches unless you are air cooled, than 6 to 9 inches (very general)
Put you hand just above the canopy and feel the heat with the top side of your hand, not your palm. If your hand gets significantly warmer after a minute, back off 3 inches and do it again until your hand does not get warmer. Ventilate well also