Preview Website - redirecting infinity

could you share nginx configuration of virtual server? And also what is software running in your virtual server?

My trick to find the reason for a small issue in many files is using grep. Eg, to find what causing redirect to /dev/, do grep "/dev/" -r ./home/domain/