aws / apprunner-roadmap

This is the public roadmap for AWS App Runner.
https://aws.amazon.com/apprunner/
Other
298 stars 14 forks source link

HTTP to HTTPS redirect not working in PHP runtime #194

Closed cade-coreschedule closed 1 year ago

cade-coreschedule commented 1 year ago

Community Note

Tell us about your request What do you want us to build? HTTP to HTTPS redirect with the PHP runtime. HTTP browser or curl request to the App Runner generated URL times out. HTTP request to a custom domain name linked and pointed to the App Runner service times out. HTTPS requests are handled fine.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. No alternative.

Additional context Anything else we should know? Brand new App Runner service using the PHP 8.1 runtime. HTTP requests timeout and are never redirected to HTTPS.

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

msumithr commented 1 year ago

Hello, Thank you for reaching out. Could you share the App runner service arn?

cade-coreschedule commented 1 year ago

Hello, Thank you for reaching out. Could you share the App runner service arn? arn:aws:apprunner:ap-southeast-2:345313948110:service/apprunner/59484ae33a9f4390babdd95794f34bcf

msumithr commented 1 year ago

Hello @cade-coreschedule Thank you for reaching out! We identified an issue with the http->https redirect routing configuration, which we have fixed. Could you please retry again? Please let us know if you see further issues.

cade-coreschedule commented 1 year ago

Thanks @msumithr - the http->https redirect is working in that App Runner service now. Is this a fix to App Runner - e.g. when we make new PHP runtime services will the https redirect be working there, too?

msumithr commented 1 year ago

Hi @cade-coreschedule , the fix was not related to the underlying runtime. New services (regardless of the platform) should see http->https redirect working.