mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 11:24:40 -04:00
update 404 error for digitalocean docs
it was showing a 404 error! https://docs.digitalocean.com/products/app-platform/references/app-specification-reference/
This commit is contained in:
parent
e5aa641a62
commit
7496b8f878
@ -4,7 +4,6 @@ linktitle: 404 Page
|
|||||||
description: If you know how to create a single page template, you have unlimited options for creating a custom 404.
|
description: If you know how to create a single page template, you have unlimited options for creating a custom 404.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
publishdate: 2017-02-01
|
publishdate: 2017-02-01
|
||||||
lastmod: 2017-03-31
|
|
||||||
categories: [templates]
|
categories: [templates]
|
||||||
keywords: [404, page not found]
|
keywords: [404, page not found]
|
||||||
menu:
|
menu:
|
||||||
@ -54,7 +53,7 @@ Your 404.html file can be set to load automatically when a visitor enters a mist
|
|||||||
* 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)
|
* 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)
|
* 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 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/references/app-specification-reference/).
|
* 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).
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
`hugo server` will not automatically load your custom `404.html` file, but you
|
`hugo server` will not automatically load your custom `404.html` file, but you
|
||||||
|
Loading…
x
Reference in New Issue
Block a user