I'm trying to make http to https redirect work with:

-Google managed SSL
-Spring boot app
-on flexible environment
-with custom domain

But from what I understand:
-htaccess doesn't work on app engine
-"secure: always" in app.yaml doesn't work in flexible environment
-gcloud proxy kills https connections


I can't find a way to make the redirect work properly

Would you have a code snippet to make this work ?
Or do i have to make a custom ssl certificate (which is what i would like 
to avoid) ?

I have dabbled with the following links but without success 
https://stackoverflow.com/questions/39709408/spring-boot-tomcat-http-https-301-redirects
https://stackoverflow.com/questions/42947627/spring-boot-forcing-https-cause-redirection-too-many-times-in-google-app-engine

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0d69d5b1-7b8b-4696-9348-5afd30720917%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Nicolas Lecrique

Reply via email to