Skip to content

Source of https://idle-ti.me website. Crafted with Zola and enhanced by tabi theme.

Notifications You must be signed in to change notification settings

be-next/idle-ti.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idle-ti.me website

GitHub last commit (by committer) GitHub Actions Workflow Status

idle-ti.me website is crafted with Zola and enhanced by tabi theme.

How to set up AWS

Recipe for serving a static website via the Amazon CloudFront distribution: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started-cloudfront-overview.html

Following this procedure, trying to obtain a missing ressource will return a 403 http error code and will display a xml error message (the last produced by CloudFront). To avoid this behavior and display the 404.html page instead, configure CloudFront as follows:

  • In console AWS, navigate to the CloudFront service, then select the distribution.
  • Go to the "Error Pages" tab.
  • Click on the "Create Custom Error Response" button.
  • Select the HTTP 403 error.
  • Specify that we want to customize the error response.
  • Enter 404.html in the "Response Page Path" field and set the "HTTP Response Code" to "404" for the 403 error.