I have a Google App Engine project. On this project I have setup a custom domain and an SSL certificate. Therefore, I can use https://www.mysite.xxx, http
https://www.mysite.xxx
http
(For Node at least,) in your app.yaml, add the following:
handlers: - url: /.* secure: always redirect_http_response_code: 301 script: auto
Reference: https://cloud.google.com/appengine/docs/standard/nodejs/config/appref