AWS static website redirect to github repo fails

Hi, I’m trying to redirect an AWS S3 static website to a github repo. It used to work but it no longer works because dumb HTTP is not supported anymore.

This is how S3 bucket’s Static Website Hosting is currently defined:

Static website hosting: Enable
Hosting type: Redirect requests for an object
Host name:<myorg>/<myrepo>
Protocol: https

It used to have http in there until support for that was deprecated.

Any suggestions on how to define the redirection so it works once again?