diff --git a/v2:-Config-from-Scratch.md b/v2:-Config-from-Scratch.md index 2b83527..68bf062 100644 --- a/v2:-Config-from-Scratch.md +++ b/v2:-Config-from-Scratch.md @@ -72,7 +72,8 @@ And this is the same, but with automatic HTTPS (notice that we now serve on the The reason this particular config gets automatic HTTPS is because the host matcher informs Caddy which hostnames to manage certificates for. -The following is a simple http reverse proxy, with automatic https disabled: +The following is a simple HTTP reverse proxy, with automatic HTTPS disabled: + ```json { "apps": { @@ -88,7 +89,7 @@ The following is a simple http reverse proxy, with automatic https disabled: "handler": "reverse_proxy", "upstreams": [ { - "host": "http://localhost:8080" + "dial": "localhost:8080" } ] } @@ -101,7 +102,7 @@ The following is a simple http reverse proxy, with automatic https disabled: "handler": "reverse_proxy", "upstreams": [ { - "host": "http://localhost:3000" + "dial": "localhost:3000" } ] }