Organizations

2 results for Static-Site
  • Setting Up CloudFront Functions for Hugo Page Routing

    When hosting a Hugo site on AWS CloudFront, URLs ending with a trailing slash (like /about/) don’t automatically resolve to their corresponding index.html files. While Lambda@Edge can solve this, CloudFront Functions provide a more cost-effective and faster solution. This article will guide you through setting up a CloudFront Function to handle this routing properly.

    Why CloudFront Functions?

    CloudFront Functions are a perfect fit for this URL rewriting task because:

    serverless static-site routing Created Mon, 23 Dec 2024 00:00:00 +0000
  • In today’s digital world, image recognition and matching have become crucial in various applications. AWS API Gateway, coupled with AWS Rekognition, offers a powerful combination to upload and process images, enabling us to find the closest matches effortlessly. In this article, we will explore how to utilize AWS API Gateway to upload images and leverage Velocity Template Language (VTL) to construct requests for AWS Rekognition to identify the closest image matches.

    serverless static-site Created Fri, 23 Dec 2022 15:58:30 -0700