Directive reference
proxy_http_version
Selects the HTTP version used to an upstream.
| Syntax | proxy_http_version 1.0 | 1.1; |
|---|---|
| Contexts | httpserverlocation |
| Default | proxy_http_version 1.0; |
Behavior
Use 1.1 for upstream keepalive and protocol upgrades, together with the appropriate Connection and Upgrade headers.
Example
proxy_http_version 1.1;