KodeKloud Engineer | Level 2 Cloud (AWS) | Task No: 7 - Configuring an EC2 Instance as a Web Server with Nginx

task is failing even after trying and completing it.
1st Time: Created new key pair and added inbound rule as http and allowed port 80
2nd Time: Created with default security group added already in the aws sandbox

Both the time I am able to access ngin using publicIP of the ec2 instance