mirror of
https://github.com/nginx/nginx.git
synced 2025-12-27 21:25:59 +00:00
The module allows to use HTTP/2 protocol for proxying.
HTTP/2 proxying is enabled by specifying "proxy_http_version 2".
Example:
server {
listen 8000;
location / {
proxy_http_version 2;
proxy_pass https://127.0.0.1:8443;
}
}
server {
listen 8443 ssl;
http2 on;
ssl_certificate certs/example.com.crt;
ssl_certificate_key certs/example.com.key;
location / {
return 200 foo;
}
}
|
||
|---|---|---|
| .. | ||
| cc | ||
| lib | ||
| os | ||
| types | ||
| configure | ||
| define | ||
| endianness | ||
| feature | ||
| have | ||
| have_headers | ||
| headers | ||
| include | ||
| init | ||
| install | ||
| make | ||
| module | ||
| modules | ||
| nohave | ||
| options | ||
| sources | ||
| stubs | ||
| summary | ||
| threads | ||
| unix | ||