I deployed a dockerized yii2 application on google app engine inorder for this to work my application needs to listen on port 8080. I managed to get apache to listen on port 8080. The application deployed successfully but when I try to access it on the https autogenerated URL by app engine it always redirects to the HTTP version. For example say the url is https://flex-dot-[projectId].appspot.com it redirects to http://flex-dot-[projectId].appspot.com. Is this a normal behaviour or am I missing something? Keep in mind I know I can add custom domain then add SSL through that means but I just want to be sure I am not missing anything.