title: Allow listing of subfolders on AWS S3
body: <p>I'm having an issue with hosting a static website on Amazon S3. When forwarding to a folder containing a index.html file it always returns a AccessDenied response.</p>
  <p>So accessing domain.com/en/index.html works but domain.com/en gives AccessDenied.</p>
  <p>Anyone an idea?</p>
  <p>My bucket policy is</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;Version&quot;: &quot;2012-10-17&quot;,
      &quot;Statement&quot;: [
          {
              &quot;Sid&quot;: &quot;PublicReadGetObject&quot;,
              &quot;Effect&quot;: &quot;Allow&quot;,
              &quot;Principal&quot;: &quot;*&quot;,
              &quot;Action&quot;: [
                  &quot;s3:GetObject&quot;
              ],
              &quot;Resource&quot;: [
                  &quot;arn:aws:s3:::domain.com/*&quot;
              ]
          }
      ]
  }
  </code></pre>