title: HTTP to HTTPS redirection on App Engine Flexible
body: <p>I've followed the answer of this: <a href="https://stackoverflow.com/questions/37135051/redirect-from-http-to-https-in-google-cloud">Redirect from http to https in google cloud</a> but it does not seem to be currently accurate any more. The anchor referenced ( <a href="https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#security" rel="noreferrer">https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#security</a> ) seems to have been removed but without a note of a replacement.</p>
  
  <p>For reference, I am serving NodeJS over a Google App (flex) Engine. As per the answer I've got in my <code>app.yaml</code>: </p>
  
  <pre><code>handlers:
  - url: /.*
    script: IGNORED
    secure: always
  </code></pre>
  
  <p>Since HTTPS is obviously terminated before it hits my Express engine (and redirection on there would be useless); how is it currently correctly implemented?</p>
  
  <p>Potentially helpful, I have an external domain attached via the "Custom domains" tab in the console, and there is indeed a SSL certificate configured (so if a user manually goes to https://.com everything is fine)</p>