Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs De Meester <git@demeester.dev>2021-05-26 15:00:30 +0300
committerJoe Mooring <joe.mooring@veriphor.com>2022-11-13 03:00:01 +0300
commit35fc54362f370a51ab02b289134b232d05ea285b (patch)
treebbae7337a751a62829bab554d283e3763c49f561
parentd48f67ba1bbd438fc2dbb3c698681f3172b2fbff (diff)
add Azure Static Web App config to 404 template
add Azure Static Web App specification to Automatic loading spec Reword Azure Storage option to further differentiate between hosting in Azure Storage and using Azure Static Web Apps
-rw-r--r--content/en/templates/404.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/en/templates/404.md b/content/en/templates/404.md
index 5a7da35c5..81c4c38bd 100644
--- a/content/en/templates/404.md
+++ b/content/en/templates/404.md
@@ -52,7 +52,8 @@ Your 404.html file can be set to load automatically when a visitor enters a mist
* Amazon CloudFront. You can specify the page in the Error Pages section in the CloudFront Console. [Details here](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html)
* Caddy Server. Use the `handle_errors` directive to specify error pages for one or more status codes. [Details here](https://caddyserver.com/docs/caddyfile/directives/handle_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).
+* Azure Static Web App. set `responseOverrides.404.rewrite` and `responseOverrides.404.statusCode` in configfile `staticwebapp.config.json`. [Details here](https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#response-overrides)
+* Azure Storage as Static Web Site Hosting. You can specify the `Error document path` in the Static website configuration page of the Azure portal. [Details here](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.