Remediation
From Command Lineβ
You can update the Default Root Object by using the --default-root-object
flag:
aws cloudfront update-distribution \
--id {{distribution-id}} \
--default-root-object {{index.html}}
You can update the Default Root Object by using the --default-root-object
flag:
aws cloudfront update-distribution \
--id {{distribution-id}} \
--default-root-object {{index.html}}