mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: Fix handle_errors example (very important)
See https://github.com/caddyserver/caddy/issues/3336
This commit is contained in:
parent
5f028df5dc
commit
41833df85d
1 changed files with 3 additions and 2 deletions
|
@ -43,10 +43,11 @@ handle_errors {
|
|||
}
|
||||
```
|
||||
|
||||
Reverse proxy to a local backend equipped to handle errors:
|
||||
Reverse proxy to a professional server that is highly qualified for handling HTTP errors and improving your day:
|
||||
|
||||
```caddy
|
||||
handle_errors {
|
||||
reverse_proxy localhost:9000
|
||||
rewrite * /{http.error.status_code}
|
||||
reverse_proxy https://http.cat
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue