I created a Full Stack application using Next.js with Typescript, and deployed it successfully to Azure Web Apps using GitHub, however when I try to access the website I got the message "You do not have permission to view this directory or page.".
I already run "npm run build" and test the application locally to make sure everything is working, I also verified the Default documents to include index.js, index.tsx, index.html, and there are not IP restrictions or authentication requirements. The Virtual Path is set to / and the physical path is set to site\wwwroot. I tried adding a web.config file with details about serving the website (as I understand there is not need for this file, but I tried), but it didn't work either, I got the same message. Then I start over and deployed it from VS Code to see what happens, but I got the same error. I already checked the files in Azure Web App console and all files are there. I do not know what else to try, I really need help.