Site doesn’t work when updating to SSL using nginx

Fault was with the dns of the ISP provider. It was still cached from a server migration. Where the http was configured on Apache ( old server)