Check out Setting up secure HTTP (HTTPS) with AMP Your nginx config seems to be wrong as the destination is wrong.