Skip to content

Instantly share code, notes, and snippets.

View luisovando's full-sized avatar

Luis Ovando luisovando

View GitHub Profile
@luisovando
luisovando / https-instance-single.config
Created September 14, 2020 18:36 — forked from 8trackbattlecat/https-instance-single.config
Let's Encrypt SSL Single Instance PHP Elastic Beanstalk .ebextensions
#Do not include this file until your production certificate is working
#This config Forcing ssl will prevent lets encrypt from verifying your domain
#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