From c08d6d898a3a88ceb83cdeae33f750353b31e91b Mon Sep 17 00:00:00 2001 From: Loris Sigrist <43482866+LorisSigrist@users.noreply.github.com> Date: Tue, 23 Aug 2022 05:18:36 +0200 Subject: [PATCH] Update en/templates/404.md with Firebase Hosting (#1796) Firebase Hosting is a very popular way to host static sites. Therefore it is probably worth it to include it in all hosting-related documentation. This Change adds an explanation of how to make 404 pages work with Firebase Hosting. --- 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 3add24163..2be629437 100644 --- a/content/en/templates/404.md +++ b/content/en/templates/404.md @@ -54,6 +54,7 @@ Your 404.html file can be set to load automatically when a visitor enters a mist * 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). * DigitalOcean App Platform. You can specify `error_document` in your app specification file or use control panel to set up error document. [Details here](https://docs.digitalocean.com/products/app-platform/how-to/manage-static-sites/#configure-a-static-site). +* [Firebase Hosting](https://firebase.google.com/docs/hosting/full-config#404): `/404.html` automatically gets used as the 404 page. {{% note %}} `hugo server` will not automatically load your custom `404.html` file, but you