title: How to prevent redirect to my server from cloudfront?
body: <p>I want to move static resources of my project to cloudfront. I created distribution on cloudfront and I linked my resources to download from distribution's domain. But when resources are requested from cloudfront, then it returns status code 301 and request is redirected to my server. How to solve this problem?</p>