Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211'

This commit is contained in:
Bjørn Erik Pedersen
2019-05-25 10:41:51 +02:00
14 changed files with 42 additions and 30 deletions

View File

@@ -52,6 +52,7 @@ Your 404.html file can be set to load automatically when a visitor enters a mist
* Amazon AWS S3. When setting a bucket up for static web serving, you can specify the error file from within the S3 GUI.
* 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)
{{% note %}}
`hugo server` will not automatically load your custom `404.html` file, but you