mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 04:07:13 -04:00
Fix http.cat example with Host
This commit is contained in:
parent
caefac9b51
commit
51e36ec43f
1 changed files with 3 additions and 1 deletions
|
@ -48,6 +48,8 @@ Reverse proxy to a professional server that is highly qualified for handling HTT
|
|||
```caddy
|
||||
handle_errors {
|
||||
rewrite * /{http.error.status_code}
|
||||
reverse_proxy https://http.cat
|
||||
reverse_proxy https://http.cat {
|
||||
header_up Host http.cat
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue