According to Google docs I added the following to app.yaml file:
handlers:
- url: /.*
script: auto
secure: always
redirect_http_response_code: 301
After app's deployment when I enter http://example.com no redirection to https://example.com occurs. My custom domain is verified by Google and SSL is set to Google's auto-managed feature. What am I missing?