Setting cloudfront's default_root_object to "index.html" seems to have the effect that https://www.{domain}/ redirects to https://{domain}/index.html which works but isn't ideal. Removing default_root_object solves this, however there may be other considerations of which I'm not aware.
Setting cloudfront's
default_root_object
to "index.html" seems to have the effect thathttps://www.{domain}/
redirects tohttps://{domain}/index.html
which works but isn't ideal. Removingdefault_root_object
solves this, however there may be other considerations of which I'm not aware.