Compare commits
No commits in common. "5da2f2cc80bb17a6e24639ccf18e6eae5d30d6d2" and "d5bd0b09c074fe73c7b135cf4e1f9790e685efed" have entirely different histories.
5da2f2cc80
...
d5bd0b09c0
1 changed files with 2 additions and 8 deletions
10
README.md
10
README.md
|
@ -14,14 +14,8 @@ With this snippet in the Caddyfile, for a site one can `import err` to handle er
|
|||
|
||||
```
|
||||
(err) {
|
||||
@errpaths {
|
||||
path /err_css/*
|
||||
path /err_images/*
|
||||
}
|
||||
route @errpaths {
|
||||
root * /www/err
|
||||
file_server
|
||||
}
|
||||
root /err_css/* /www/err
|
||||
root /err_images/* /www/err
|
||||
respond /unknown_error_not_4xx_not_5xx "{http.error.status_code} {http.error.status_text}"
|
||||
|
||||
handle_errors {
|
||||
|
|
Loading…
Reference in a new issue