google cloud platform – Redirect http to https app engine flexible nodejs runtime – Stack Overflow

I have a next js client application with google managed custom domain from goDaddy, i want to redirect my http traffic app.test.com to app.test.com when i explicilty hit with http it does not redirect to https that i want to do. backend is in dot net core handled separately
app engine flex has no effect of below both these in app.yaml
secure: always
redirect_http_response_code: 301

how can i redirect http trafic to https?

Tried with these two fields in app.yaml but not success
secure: always
redirect_http_response_code: 301

goDaddy dns forward section have the redirection for root domain to my subdomain which is my currenlty need and there is no other option to add redirection for http subdomain to https subdomain?

Read more here: Source link