From 1a44d8a50a4a58c1ba023b023c4bc869d7e3d97e Mon Sep 17 00:00:00 2001 From: Duncan Mackenzie Date: Tue, 30 Apr 2019 13:41:04 -0700 Subject: [PATCH] Add configuration information for Azure Azure static websites are an option for publishing your Hugo site, and this is how you configure the 404 page. More details and instructions linked in the edit to https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website --- content/en/templates/404.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/templates/404.md b/content/en/templates/404.md index bb1d5e424..add040175 100644 --- a/content/en/templates/404.md +++ b/content/en/templates/404.md @@ -53,6 +53,7 @@ Your 404.html file can be set to load automatically when a visitor enters a mist * Amazon CloudFont. You can specify the page in the Error Pages section in the CloudFont Console. [Details here](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) * Caddy Server. Using `errors { 404 /404.html }`. [Details here](https://caddyserver.com/docs/errors) * Netlify. Add `/* /404.html 404` to `content/_redirects`. [Details Here](https://www.netlify.com/docs/redirects/#custom-404) +* Azure Static website. You can specify the `Error document path` in the Static website configuration page of the Azure portal. [More details are available in the Static website documentation](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website). {{% note %}} `hugo server` will not automatically load your custom `404.html` file, but you