Я просто хочу отправить свои файлы s3 на cdn.mydomain.com
Поэтому я создаю облачный фронт-дистрибутив, который отлично работает на https://dxxxxxxxx.cloudfront.net/test.jpg - я получаю изображение.
А теперь я хочу связать свой домен на cdn.domain.com
с облачным фронтом на маршруте 53.
Поэтому я создаю адрес типа A-IPv4. с именем cdn.domain.com
псевдоним target, который я вручную поставил dxxxxxxxx.cloudfront.net
.
Но когда я открываю URL:
http://cdn.mydomain.com/test.jpg
Я получаю ошибку:
403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Что сделал Я скучаю по своей конфигурации?