I have an webapp2 WSGI app which runs on App-Engine. How do I configure its routes with HTTPS scheme when the app is running in production but if it's running in development environment it should use HTTP scheme ?
EDIT: As suggested, I am adding a link which points webapp2 routing schemes
http://webapp2.readthedocs.io/en/latest/guide/routing.html#restricting-uri-schemes
You can simply enable https in your app's app.yaml like below:
- url: .*
script: main.app
secure: always
You will then get https on appengine but devapp_server will still serve everything on http