Force https with new managed SSL

354 views
Skip to first unread message

John L Magee

unread,
Sep 14, 2017, 5:17:38 PM9/14/17
to Google App Engine
Is there any administrative way to force https once the managed SSL certs are installed?

I installed managed SSL for a domain earlier today and it went very smoothly. Thanks for implementing this.

pdknsk

unread,
Sep 14, 2017, 7:07:17 PM9/14/17
to Google App Engine

Kenworth (Google Cloud Platform)

unread,
Sep 14, 2017, 7:17:11 PM9/14/17
to Google App Engine
Just add a "secure" parameter to the app.yaml file. 

handlers:
- url: /youraccount/.*
  script
: accounts.py
  login
: required
  secure
: always

See Configuring Secure URLs in app.yaml, or the full StackOverflow discussion here.
Reply all
Reply to author
Forward
0 new messages