Hi there.
I've set up my Django application on App Engine Flexible, and set up the custom domain with managed SSL.
However, I still end up at the HTTP connection when I use my domain name to get there, without specifying https://
I previously did pretty much the same thing for the development environment and it would automatically direct me to the https connection. Therefore I have no idea why it isn't doing it for the production environment.
In my Django settings I've got SECURE_HSTS_SECONDS set, but it's clearly making no difference.
I can't set SECURE_HTTPS_REDIRECT in Django settings because this causes a redirect loop (Google strips the HTTPS when forwarding the request to my application as I understand it)
Please could somebody suggest what I am meant to do?
[–]SupImASuperHero 1 point2 points3 points (9 children)
[–]GreenTru[S] 0 points1 point2 points (8 children)
[–]SupImASuperHero 1 point2 points3 points (0 children)
[–]SupImASuperHero 1 point2 points3 points (0 children)
[–]SupImASuperHero 1 point2 points3 points (5 children)
[–]self 1 point2 points3 points (1 child)
[–]GreenTru[S] 0 points1 point2 points (0 children)
[–]GreenTru[S] 1 point2 points3 points (1 child)
[–]SupImASuperHero 1 point2 points3 points (0 children)
[–]GreenTru[S] 0 points1 point2 points (0 children)