I have next Js static website deployed on AWS S3 bucket. it works for refresh on home page (pages/index.js) but not working for the rest of the pages inside pages directory. It says access denied. Screenshot attached. But when i do refresh by adding .html at the end. it works. can anyone suggest any solution ?
Asked
Active
Viewed 20 times
0
-
Can you post some code up please – Matt May 03 '22 at 13:01