CloudFront で使用する SSL について記載します。
| ドメイン |
|---|
| example.com |
| オリジン | オリジンドメイン |
|---|---|
| オリジン1 | origin1.example.com |
| オリジン2 | origin2.example.com |
| パスパターン | オリジン |
|---|---|
| https://example.com | origin1.example.com |
| https://example.com/blog | origin2.example.com |
Name ベースの VirtualHost を設定している。 設定ファイルは以下 ServerName ディレクティブを指定したファイルのみとして進める。
| オリジン | ServerName ディレクティブ |
|---|---|
| origin1.example.com | origin1.example.com |
| origin2.example.com | origin2.example.com |