I've set up an example static website on Amazon S3 and I added a custom folder to it with file inside: custom-folder/index.html, but
I'm getting Access Denied error when trying to access url /custom-folder.
The index document is configured to be index.html, so S3 should serve index.html when I'm accessing /custom-folder url, but it doesn't work.
How can I fix this?

http://examplebucket.s3-website-us-west-2.amazonaws.com/custom-folder/https://s3.amazonaws.com/aws-website-myexamplewebsite/custom-folderIt's a default URL that amazon set up for me when I chose "example static website"