The documentation <https://cloud.google.com/appengine/docs/flexible/python/securing-custom-domains-with-ssl> explains "By default, HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates.". Managed certificates are provisioned on App Engine automatically once a Custom Domain is mapped to your application and the necessary DNS records are configured. Custom domains can be setup on App Engine on this section, App Engine > Settings > Custom Domains <https://cloud.google.com/appengine/docs/flexible/python/mapping-custom-domains#adding_a_custom_domain_for_your_application> .
Please note that Custom Domains always require ownership verification <https://www.google.com/webmasters/verification/home>. However, about being able to setup redirects based on the incoming request, unfortunately, App Engine Flex does not support the use of Secure handlers <https://cloud.google.com/appengine/docs/flexible/java/upgrading#appyaml_changes> any longer. Hence, as recommended on this similar Stackoverflow case <https://stackoverflow.com/questions/41944776/force-ssl-on-app-engine-flexible-environment-custom-runtime#answer-41969350>, the only way around with App Engine flex is to handle such redirects within your application. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b7729292-3cd4-46f5-b62c-1c0958357357%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
