PHP7.2 runtime - Force HTTPS

25 views
Skip to first unread message

shahar...@gmail.com

unread,
May 3, 2019, 9:07:51 AM5/3/19
to Google App Engine
Previously we configured secure:always in app.yaml to force https. But in PHP7.2 runtime, I think app.yaml secure:always is not working. Is there any quick tips to force https?

George (Cloud Platform Support)

unread,
May 4, 2019, 2:12:39 PM5/4/19
to Google App Engine
Hello Shaharia, 

Subelement "secure:always" is supposed to work still with PHP 7.2 runtime. You may have a look at the "app.yaml Configuration File". You mention that you think this is not working. How did you get to this conclusion? How did you test this functionality? Expected functionality is: "Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are preserved for the redirect". What was the behavior you noticed, instead? 
Reply all
Reply to author
Forward
0 new messages