Let's encrypt not working with Nginx on ubuntu 16.04

I already tested it. But it returned the entire content of index file.