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
답변함 일 년 전

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

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

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

관련 콘텐츠