mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
Fix example of rewrite in handle_response (#166)
This commit is contained in:
parent
e30f3f8330
commit
2827d46774
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ reverse_proxy localhost:8080 {
|
|||
@error status 500 503
|
||||
handle_response @error {
|
||||
root * /path/to/error/pages
|
||||
rewrite /{http.reverse_proxy.status_code}.html
|
||||
rewrite * /{http.reverse_proxy.status_code}.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue