Direct product of automorphism groups of digraphs