Compare commits

...

3 commits

Author SHA1 Message Date
5da2f2cc80 rebuild dist 2021-11-28 10:27:40 -05:00
6da0bf41e2 merge-in from dev 2021-11-28 10:26:25 -05:00
4b726b4339 fixing caddy config in readme, adding dist files 2021-11-26 08:52:19 -05:00

View file

@ -14,8 +14,14 @@ With this snippet in the Caddyfile, for a site one can `import err` to handle er
``` ```
(err) { (err) {
root /err_css/* /www/err @errpaths {
root /err_images/* /www/err path /err_css/*
path /err_images/*
}
route @errpaths {
root * /www/err
file_server
}
respond /unknown_error_not_4xx_not_5xx "{http.error.status_code} {http.error.status_text}" respond /unknown_error_not_4xx_not_5xx "{http.error.status_code} {http.error.status_text}"
handle_errors { handle_errors {