An open API service indexing awesome lists of open source software.

https://github.com/tdmalone/cloudfront-security-headers

A quick Lambda@Edge function to add security headers to AWS CloudFront responses.
https://github.com/tdmalone/cloudfront-security-headers

aws cloudfront headers lambda lambda-edge node-js security

Last synced: about 1 month ago
JSON representation

A quick Lambda@Edge function to add security headers to AWS CloudFront responses.

Awesome Lists containing this project

README

        

# Cloudfront Security Headers

A quick [Lambda@Edge](https://aws.amazon.com/lambda/edge/) function to add security headers to AWS [CloudFront](https://aws.amazon.com/cloudfront/) responses.

At this stage, this function is entirely based off [this blog post](https://aws.amazon.com/blogs/networking-and-content-delivery/adding-http-security-headers-using-lambdaedge-and-amazon-cloudfront/) by AWS, with some additional logic for [automatic deployments via Travis CI](.travis.yml).

To check your security headers, visit [securityheaders.io](https://securityheaders.io) or [observatory.mozilla.org](https://observatory.mozilla.org).