Here’s how 👇
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.
I made a simple script that adds entries to a map file — which HAProxy reads. And voila — a URL shortener! 👇