projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcad066
)
Added "Caddy server"'s handling of 404 errors.
author
Alexandre Bourget
<alex@bourget.cc>
Wed, 30 Dec 2015 09:19:28 +0000
(
04:19
-0500)
committer
Steve Francia
<steve.francia@gmail.com>
Mon, 4 Jan 2016 17:42:47 +0000
(12:42 -0500)
docs/content/templates/404.md
patch
|
blob
|
history
diff --git
a/docs/content/templates/404.md
b/docs/content/templates/404.md
index 4c3f29dc9487620b6321e4cd51e0676d9688b854..ed54f907cab93dba6685eed0215f23deccee7616 100644
(file)
--- a/
docs/content/templates/404.md
+++ b/
docs/content/templates/404.md
@@
-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.
* _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.
-
+* _Caddy Server_ - using `errors { 404 /404.html }`. [Details here](https://caddyserver.com/docs/errors)