Skip to content

Instantly share code, notes, and snippets.

View miczed's full-sized avatar

Michael Ziörjen miczed

View GitHub Profile
@mrgoos
mrgoos / app.module.ts
Last active September 17, 2024 21:54
Intercepting http request/respons in Angular 2. Works from version 2.3.0.
...
...
providers: [
{ provide: Http, useClass: ExtendedHttpService }
]
...
...
@8trackbattlecat
8trackbattlecat / https-instance-single.config
Last active June 16, 2021 03:37
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