- Le plus récent
- Le plus de votes
- La plupart des commentaires
In the CloudFront distribution settings there is a default root object option.
General Tab > Settings section > Edit > scroll down to Default root object and enter index.html here.
Hello Everyone.
And for cases where the origin is an ALB? How to set a default root object where there is no object to set?
I'm trying to solve te AWS SecurityHub "CloudFront distributions should have a default root object configured" item. But my origin is an ALB, routing my URLs without a default root object.
Best Regards, Ransés Marques
The default root object is typically used when serving static content from an S3 bucket or other simple origin types. When using an ALB as your origin, you rely on the ALB's ability to route requests to different resources based on the request path, query parameters, or other conditions. Therefore, CloudFront doesn't control the default root object for ALB origins.
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 mois
Thank you! I go it done