mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: Add reverse_proxy compression subdirective
This commit is contained in:
parent
db56448157
commit
7da129a23a
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,7 @@ transport http {
|
||||||
tls_server_name <sni>
|
tls_server_name <sni>
|
||||||
keepalive [off|<duration>]
|
keepalive [off|<duration>]
|
||||||
keepalive_idle_conns <max_count>
|
keepalive_idle_conns <max_count>
|
||||||
|
compression off
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -160,6 +161,7 @@ transport http {
|
||||||
- **tls_server_name** sets the ServerName (SNI) to put in the ClientHello; only needed if the remote server requires it.
|
- **tls_server_name** sets the ServerName (SNI) to put in the ClientHello; only needed if the remote server requires it.
|
||||||
- **keepalive** is either `off` or a [duration value](/docs/conventions#durations) that specifies how long to keep connections open.
|
- **keepalive** is either `off` or a [duration value](/docs/conventions#durations) that specifies how long to keep connections open.
|
||||||
- **keepalive_idle_conns** defines the maximum number of connections to keep alive.
|
- **keepalive_idle_conns** defines the maximum number of connections to keep alive.
|
||||||
|
- **compression** can be used to disable compression to the backend by setting it to `off`.
|
||||||
|
|
||||||
#### The `fastcgi` transport
|
#### The `fastcgi` transport
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue