Update reverse_proxy.md

This commit is contained in:
Francis Lavoie 2020-04-09 19:51:24 -04:00 committed by GitHub
parent 7134d36f3a
commit f1b43f3c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ Caddy's proxy **transport** is pluggable:
- **transport** defines how to communicate with the backend. Default is `http`.
The `http` and `http_ntlm` transports can look like this:
The `http` transport can look like this:
```
transport http {
@ -128,8 +128,6 @@ transport http {
}
```
The `http_ntlm` transport is identical to the `http` transport, but the HTTP version is always 1.1, and Keep-Alive is always disabled. The `http_ntlm` transport must be compiled as a [separate module](https://github.com/caddyserver/ntlm-transport).
- **read_buffer** is the size of the read buffer in bytes.
- **write_buffer** is the size of the write buffer in bytes.
- **dial_timeout** is how long to wait when connecting to the upstream socket.