Bring reverse proxy docs up to speed

Matt Holt 2019-09-09 18:55:54 -06:00
parent 0214a460f7
commit 34a28cb40b

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