HTTPs on GCP Compute Engine Jenkins

I'm using a jenkins in GCP Compute Engine and I need to make it use HTTPS.

I've tried this solution, to force jenkins to run with https but it didnt work:

Do you know some way to make Compute Engine to run only with HTTPs or if google has any other solution to this problem?