<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aimstogeek</author_name>
  <author_url>https://blog.hatena.ne.jp/aimstogeek/</author_url>
  <blog_title>クイック エンジニアリングブログ</blog_title>
  <blog_url>https://aimstogeek.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>CloudFront</anon>
    <anon>S3</anon>
  </categories>
  <description>こんにちは。クイックSREチームのみっちーです。 今日はCloudFront+S3を利用時に役立つ小ネタをご紹介します。 ファイルが無くても「403 Forbidden」を返すS3 普段CloudFrontのオリジンとして、S3を利用している方は多いと思います。 ただこのS3、存在しないファイルへアクセスしたときも、「403 Forbiddenを返す」という特徴があります。 （本当？と思ったそこのあなた、このあとテスト結果を公開してますよ！） 「ファイルが無いんだったら、403じゃなくて404 NotFoundを返してよ」って思いませんか？（思いますよね？はい。自分は思います。どっちなのかわか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faimstogeek.hatenablog.com%2Fentry%2F2018%2F07%2F23%2F135032&quot; title=&quot;【AWS CloudFront + S3】「404 NotFound」を表示させる方法 - クイック エンジニアリングブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/aimstogeek/20180725/20180725092639.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-23 13:50:32</published>
  <title>【AWS CloudFront + S3】「404 NotFound」を表示させる方法</title>
  <type>rich</type>
  <url>https://aimstogeek.hatenablog.com/entry/2018/07/23/135032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
