health is severe after I listen only on https

0

I'm new to web development, and I've set up an Elastic Beanstalk environment with SSL certificate on my instance using Route 53. However, when I listen only on port 443 for HTTPS, the health of my server becomes severe. It works fine when I listen on both ports 80 and 443, but I can't connect using HTTPS. I'm not sure if the issue is with my configuration or with my Django project on the Elastic Beanstalk environment. Can someone help me with this? Thank you.

1 réponse
0

Hi, Please check whether you have configured security group rule for port 443. As mentioned in the blog

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html

Resources:
  sslSecurityGroupIngress: 
    Type: AWS::EC2::SecurityGroupIngress
    Properties:
      GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
      IpProtocol: tcp
      ToPort: 443
      FromPort: 443
      CidrIp: 0.0.0.0/0

Some of the related topics exists here.

AWS
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions