Fix http.cat example with Host

This commit is contained in:
Andy Pilate 2020-11-22 23:59:47 +01:00
parent caefac9b51
commit 51e36ec43f

View file

@ -48,6 +48,8 @@ Reverse proxy to a professional server that is highly qualified for handling HTT
```caddy ```caddy
handle_errors { handle_errors {
rewrite * /{http.error.status_code} rewrite * /{http.error.status_code}
reverse_proxy https://http.cat reverse_proxy https://http.cat {
header_up Host http.cat
}
} }
``` ```