I’m adding security headers to my S3 and CloudFront hosted website — using Lambda@Edge. It’s pretty easy, here is how 👇
URL redirection with AWS Lambda@Edge
I recently (finally) finished moving all articles from my old wiki — to this blog. Once that was done I needed to forward all URLs to their new location.
My site is hosted with AWS CloudFront, so I made a simple redirect function and deployed it to AWS Lambda@Edge.