From 41833df85dd81fb65ee7f601980f9ea913a4b874 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 3 Jun 2020 15:46:30 -0600 Subject: [PATCH] docs: Fix handle_errors example (very important) See https://github.com/caddyserver/caddy/issues/3336 --- src/docs/markdown/caddyfile/directives/handle_errors.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/directives/handle_errors.md b/src/docs/markdown/caddyfile/directives/handle_errors.md index f855052..ba275ed 100644 --- a/src/docs/markdown/caddyfile/directives/handle_errors.md +++ b/src/docs/markdown/caddyfile/directives/handle_errors.md @@ -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 } ```