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 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande