【发布时间】:2015-03-20 08:14:33
【问题描述】:
我在使用 AWS S3 和 AWS 云前端服务部署静态站点时遇到了两个问题。出现的第一个问题是当我查找 http://.point.plumbing 时,我没有看到我对 index.html 页面所做的更改。但是,如果我转到我的存储桶并访问 Object: index.html 并单击 link,您将看到所需的更改生效 https://s3-us-west-2.amazonaws.com/point.plumbing/index.html
我遇到的第二个问题是我似乎收到此错误Failed to load resource: the server responded with a status of 403 (Forbidden) http://www.point.plumbing/fontkit/avenir_55_oblique-webfont.woff2该错误告诉我服务器无法在http://.point.plumbing上加载我想要的一些字体@
在服务页面上,如果您单击图标,您会看到我没有加载字体 avenirmedium, sans-serif。
我花了相当多的时间来解决这些问题,而我最接近解决方案的是这个链接。 http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ReplacingObjectsSameName.html
我收到错误并且没有看到所需更改到达http://.point.plumbing 的原因是因为我的对象缓存在 24 小时内没有刷新吗?
任何帮助将不胜感激。
【问题讨论】:
标签: amazon-web-services deployment amazon-s3 web-deployment