1

I'm using Google App Engine to host my web application Here's the app.yaml config I'm using, using a domain that I bought through GoDaddy to set the custom domain. I've successfully set the custom domain, and the console shows that the ManagedSSL is working, when I visit the site it's still not working The console showing the ssl for the custom domain is working. The appspot.projectid.com site does have the https working but the custom domain does not.

I've followed the tutorials provided by Google Cloud, and others on medium but this issue persists. Do I need to set something on the DNS to allow the ManagedSSL to work?

Luis Osta
  • 144
  • 3
  • 10
  • It appears that the https works but simply isn't being enforced. GAE has deprecated automatic https enforcement for flexible environments. – Luis Osta Jul 30 '18 at 20:03
  • In GoDaddy, use `domain forwarding` to forward all to the `https` address. – GAEfan Jul 30 '18 at 20:14

1 Answers1

1

As you stated, acording to this post, secure: always still works in all standard environments, but the secure option has been deprecated in all flexible environments, see documentation here or here for Node.js.

If you need this feature in your current environment, the suggested solutions require changes to your application code. Either use the custom HTTP header X-Forwarded-Proto to redirect the HTTP traffic to HTTPS, or use the HTTP Strict Transport Security response header.

Community
  • 1
  • 1
  • Alright thank you, is it also possible to use domain forwarding to achieve this? – Luis Osta Jul 31 '18 at 14:38
  • This actually depends on your domain service. I believe GoDaddy offers that, but I'm not sure as I don't use it myself. By doing a quick search I found this [post](https://es.godaddy.com/help/redirigir-http-a-https-automaticamente-8828?lang=en) that may help you – Federico Panunzio Aug 01 '18 at 15:43