Added "Caddy server"'s handling of 404 errors.

This commit is contained in:
Alexandre Bourget 2015-12-30 04:19:28 -05:00 committed by Steve Francia
parent dcad066025
commit 8f8120ba14

View file

@ -51,4 +51,4 @@ Your 404.html file can be set to load automatically when a visitor enters a mist
* _Apache_ - one way is to specify `ErrorDocument 404 /404.html` in an `.htaccess` file in the root of your site. * _Apache_ - one way is to specify `ErrorDocument 404 /404.html` in an `.htaccess` file in the root of your site.
* _Nginx_ - you might specify `error_page 404 = /404.html;` in your `nginx.conf` file. * _Nginx_ - you might specify `error_page 404 = /404.html;` in your `nginx.conf` file.
* _Amazon AWS S3_ - when setting a bucket up for static web serving, you can specify the error file. * _Amazon AWS S3_ - when setting a bucket up for static web serving, you can specify the error file.
* _Caddy Server_ - using `errors { 404 /404.html }`. [Details here](https://caddyserver.com/docs/errors)