Getting a '403 Forbidden' error on deploying a Laravel application to AWS Elastic Beanstalk

0

I have deployed a Laravel application to AWS Elastic Beanstalk. However, on navigating to the URL of the application I see a 403 Forbidden error.

The last two lines of my /var/log/nginx/error.log are as follows.

2022/11/21 08:23:20 [error] 3614#3614: *31864 directory index of "/var/www/html/" is forbidden, client: 172.31.39.157, server: , request: "GET / HTTP/1.1", host: "172.31.47.15"
2022/11/21 08:23:31 [error] 3614#3614: *31865 directory index of "/var/www/html/" is forbidden, client: 172.31.11.188, server: , request: "GET / HTTP/1.1", host: "172.31.47.15"

How do I resolve this issue?

질문됨 2년 전148회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠