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 回答
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则