Fix example of rewrite in handle_response (#166)

This commit is contained in:
Mohammed Al Sahaf 2021-05-14 11:52:53 +00:00 committed by GitHub
parent e30f3f8330
commit 2827d46774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}