Just a guess of some possibilities:
Your index file is not at the root path.
Nginx doesn't have sufficient rights to access the file.
The index file itself contains any kind of redirects.
it was Nginx doesn't have sufficient rights to access the file, I fixed that now I am still having issues with
"Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected."
If anyone knows please help.