Open2
CloudFrontで指定ドメイン配下へのリクエストに対して決まったページを返せるようにする
イメージ
https://www.example.comがあるとする。
このときこのドメイン配下へのリクエストをすべてindex.htmlで処理できるようにしたい
具体的には、以下のような状態にしたい
- https://www.example.comにアクセス -> https://www.example.com/index.htmlを表示
- https://www.example.com/にアクセス -> https://www.example.com/index.htmlを表示
- https://www.example.com/hogehoge(存在しないパス)にアクセス -> https://www.example.com/index.htmlを表示
- https://www.example.com/index.htmlにアクセス -> https://www.example.com/index.htmlを表示
デフォルトルートオブジェクトの指定
カスタムエラーレスポンスの設定