amazon s3 - Fonts served over Cloudfront from s3 are forbidden -


i using cloudfront serve assets stored in s3. of files work fine, not, fonts.

i stumped why:

https://xxxxxx.cloudfront.net/assets/application-xxxxxxx.js 

returns fine,

https://xxxxxx.cloudfront.net/assets/fontawesome-webfont.woff?v=3.1.0 

returns:

<error>   <code>accessdenied</code>   <message>access denied</message>   <requestid>xxxxxx</requestid>   <hostid>xxxxxx</hostid> </error> 

does know why is? suspect has cors, using cors specified in answer. , request getting returned forbidden on browsers, not firefox.

any appreciated.

after fix s3 permissions, need invalidate cloudfront's cache of error messages url.

or wait 24 hours. whichever.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -