diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-11-13 03:01:51 +0300 |
---|---|---|
committer | Joe Mooring <joe.mooring@veriphor.com> | 2022-11-13 03:01:51 +0300 |
commit | 5aaf570cd39e0b3cfb8d1b801cbee75aaeeef52e (patch) | |
tree | bbae7337a751a62829bab554d283e3763c49f561 | |
parent | d48f67ba1bbd438fc2dbb3c698681f3172b2fbff (diff) | |
parent | 35fc54362f370a51ab02b289134b232d05ea285b (diff) |
add Azure Static Web App config to 404 template
-rw-r--r-- | content/en/templates/404.md | 3 |
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. |